PatchFlowDocs
Reference

CLI reference

Commands, significant flags, and exit behavior.

Open Markdown ↗
CommandPurpose
patchflow initWrite a starter configuration
patchflow runRun one package migration
patchflow watchPoll and migrate configured packages
patchflow retryCreate a new attempt from a previous run
patchflow statusList recent local runs

run

patchflow run -p <package> [--from <version>] [--to <version>]
  [--repo <url>] [--starting-ref <ref>]
  [--setup-command <command>] [--test-command <command>]
  [--test-gate auto|checks|local] [--config <path>] [--force]

watch

patchflow watch [--once] [--config <path>]

retry

patchflow retry <run-id-or-prefix> [--config <path>] [--force]

Exit codes

ResultCode
ready0
needs_attention or error1
NextConfiguration reference