CLI
Use the CLI to add workflows to your project.
init
Use the init command to create a new workflowkit.json file.
npx workflowkit initOptions
| Option | Description |
|---|---|
-y, --yes | Skip prompts and use defaults. |
add
Use the add command to add workflows and steps to your project.
npx workflowkit add [items...]You will be presented with a list of items to choose from:
Which items would you like to add? › - Space to select. Return to submit.
◯ code-review
◯ fetch-pr-diff
◯ ai-review
◯ post-github-commentOptions
| Option | Description |
|---|---|
-y, --yes | Skip confirmation prompts. |
-o, --overwrite | Overwrite existing files. |
-a, --all | Add all available items. |
-r, --registry <url> | Custom registry URL. |
Examples
# Add a single workflow
npx workflowkit add code-review
# Add multiple items
npx workflowkit add code-review fetch-pr-diff
# Add from custom registry
npx workflowkit add my-workflow -r https://my-company.com/rlist
Use the list command to list all available workflows and steps.
npx workflowkit listOptions
| Option | Description |
|---|---|
-r, --registry <url> | Custom registry URL. |