Skip to content

Process API CLI Reference

Auto-generated from CLI schema. See Process API Guide for usage examples and recipes.

FlagShortDescriptionDefault
--input <pattern>-iTypeScript glob pattern (repeatable)from config or auto-detected
--features <pattern>-fGherkin glob pattern (repeatable)from config or auto-detected
--base-dir <dir>-bBase directorycwd
--workflow <file>-wWorkflow config JSONdefault
--help-hShow help---
--version-vShow version---

Config auto-detection: If --input and --features are not provided, the CLI loads defaults from delivery-process.config.ts in the current directory. If no config file exists, it falls back to filesystem-based detection. If neither works, --input is required.


Composable with list, arch context/layer, and pattern-array query methods.

Output ModifierDescription
--names-onlyReturn array of pattern name strings
--countReturn integer count
--fields <f1,f2,...>Return only specified fields per pattern
--fullBypass summarization, return raw patterns
--format <fmt>json (default, pretty-printed) or compact

Valid fields for --fields: patternName, status, category, phase, file, source.

Precedence: --count > --names-only > --fields > default summarize.

Note on summarization: By default, pattern arrays are summarized to ~100 bytes per pattern (from ~3.5KB raw). Use --full to get complete pattern objects.


For the list subcommand. All filters are composable.

List FilterDescription
--status <status>Filter by FSM status (roadmap, active, completed, deferred)
--phase <number>Filter by roadmap phase number
--category <name>Filter by category
--source <ts|gherkin>Filter by source type
--arch-context <name>Filter by architecture context
--product-area <name>Filter by product area
--limit <n>Maximum results
--offset <n>Skip first n results

For the --session flag used with context and scope-validate.

Session TypesDescription
--session <type>Session type: planning, design, or implement