Skip to content

flightpath

The standalone CLI currently exposes two commands:

text
flightpath run [file]
flightpath validate <file>

flightpath run

Run a prompt or workflow file:

bash
flightpath run my-workflow.flightpath.yaml

Important options

OptionMeaning
-H, --harness <harness>Harness override
-m, --model <model>Model override
-d, --cwd <path>Working directory
-t, --timeout <seconds>Overall prompt timeout
--script-timeout <seconds>End-condition script timeout
--headlessForce headless mode
--interactiveForce interactive mode
--allow-tool <pattern>Allow tool pattern
--deny-tool <pattern>Deny tool pattern
--allow-all-toolsDangerously allow all tools
--add-dir <path>Add an allowed directory
--var key=valueSet a substitution variable
-p, --prompt <text>Inline prompt instead of a file
--resume <session-id>Resume a session
--new-sessionIgnore resume behavior and start fresh
--jsonEmit JSON output
-q, --quietOnly print errors
--verboseEnable debug output
--no-colorDisable colored output

Examples

bash
flightpath run review.flightpath.yaml --harness claude-cli --model sonnet
flightpath run lint-fix.prompt.md --prompt "Fix the lint errors" --headless
flightpath run build.flightpath.json --json --quiet

flightpath validate

Validate a workflow file without running it:

bash
flightpath validate my-workflow.flightpath.yaml

Source-available under the FlightPath Commercial License.