Skip to content

saf-workflow ​

Usage: saf-workflow [options] [command]

Tool for agents to be given a series of prompts. For a list of available
   workflows, run:

npm exec saf-workflow help kickoff

Options:
  -h, --help                                display help for command

Commands:
  kickoff [options] <path-or-id> [args...]  Kick off a workflow. Takes a workflow name and then any arguments for the
     workflow. Names should be kebab-case, and paths should be
     ./relative/to/package/root.ts. All commands should be run in a folder with a
     package.json; the package the workflow is acting on. Example:

  npm exec saf-workflow kickoff add-tests ./path/to/file.ts
  dry-run <path-or-id> [args...]            Dry run a workflow. Runs the workflow with the given input, but does not make
     any file changes at all.
  status                                    Show the status of the current workflow.
  next [options]                            Try to go to the next step of the current workflow.
  goto [step]                               Jump to a specific step of the current workflow by step number. If no step is
     given, lists available steps.
  checklist <path-or-id>                    Show the checklist for a workflow. Can be called with a workflow ID or a file
     path to a workflow definition.
  list [options]                            List all available workflows for the current package.
  source                                    Print the GitHub url for a workflow.
  run-scripts <path-or-id> [args...]        Run a workflow in script mode. Can be called with a workflow ID or a file path
     to a workflow definition.
  info <path-or-id>                         Prints usage information for the given workflow.
  help [command]                            display help for command

Subcommands ​