@whop-sdk/cli
Installation
npm add -g @whop-sdk/cli@latest
Running the cli
whop
Invoking the cli without any arguments will guide you through all the available subcommands!
Development
- Pull the repo
- Install packages using pnpm
pnpm i
- Run the dev command in the cli package
pnpm run dev --filter @whop-sdk/cli...
- To execute the current version of the cli run:
pnpm run preview
How to add commands
This cli uses @whop-cli/runtime
to automatically parse and execute a cli based on the cmd
folder structure. We transpile the commands
directory (ts) 1:1 into the cmd
directory (js). Please refer to the runtime documentation and existing commands for more details on configuration.