Expand description
Ralph CLI facade.
Responsibilities:
- Expose the top-level Clap surface for the
ralphbinary. - Re-export shared CLI helpers used across subcommand modules.
- Keep the root CLI module thin and navigation-friendly.
Not handled here:
- Command execution logic beyond delegated helper entrypoints.
- Queue persistence or runner execution internals.
- Large parse-regression suites beyond delegated test modules.
Invariants/assumptions:
- Top-level clap types remain stable re-exports for the rest of the crate.
- Shared queue/list helper behavior stays centralized in
helpers.rs.
Re-exports§
pub use color::ColorArg;
Modules§
- app
ralph app ...command group for macOS GUI integration.- cleanup
- Cleanup command CLI arguments.
- color
- Color option handling for CLI.
- completions
- Shell completion script generation for Ralph CLI.
- config
ralph config ...command group: Clap types and handler.- context
ralph contextcommand: Clap types and handler.- daemon
ralph daemon ...command group for background service management.- doctor
ralph doctorcommand: handler.- init
ralph initcommand: Clap types and handler.- machine
ralph machineCLI facade.- migrate
- Migration CLI command for checking and applying config/file migrations.
- plugin
- Plugin CLI surface.
- prd
ralph prd ...command group: Clap types and handler.- productivity
- Productivity CLI commands.
- prompt
ralph prompt ...CLI facade.- queue
ralph queue ...command group: Clap types and handler facade.- run
ralph run ...facade.- runner
- CLI arguments for runner management commands.
- scan
ralph scancommand: Clap types and handler.- task
ralph task ...command group: Clap types and handler facade.- tutorial
ralph tutorialcommand: Clap types and handler.- undo
- CLI handler for
ralph undocommand. - version
- Version command for Ralph CLI.
- watch
ralph watchcommand: Clap types and handler.- webhook
- Webhook CLI commands.