Expand description
CLI: two-pass argv split, clap globals, and mode dispatch.
split_at_subcommand keeps tool flags (e.g. a tool named --env) out of
the global parser (upstream GH #15). Session start/stop/list and --session
are handled before source-mode mutual exclusion.
Re-exports§
pub use dispatch::dispatch;
Modules§
- args
- Global CLI flags parsed after
crate::cli::split_at_subcommand. - bake
skiff bakesubcommand handlers.- dispatch
- Top-level CLI dispatch: bake /
@name/ sessions / OpenAPI / MCP / GraphQL. - dynamic
- Dynamic tool/subcommand argument parsing from CommandDef.
- list
- –list output formatting.
Functions§
- global_
option_ sets - Global flag sets for the pre-parser (subset used for splitting).
- split_
at_ subcommand - Split argv into
(global_args, tool_args)at the first positional subcommand.