Expand description
CLI layer. Parses arguments, calls into the SDK, formats output.
Modules§
- args
- Top-level CLI argument parsing. Uses
clapderive for the subcommand enum; each subcommand owns its own arg struct undercmd::<name>. - cmd
- Per-subcommand implementations. Each builds a request from clap args, calls into the SDK, and emits a response envelope.
- output
- Output glue. The single seam through which CLI subcommands write their one line of JSON to stdout.
Functions§
- run
- Binary entry point. Always returns
ExitCode::SUCCESSon a structured response (success or error); the response itself carries the success/failure shape on stdout.