Expand description
claude_version — manage Claude Code installation, versions, and process lifecycle.
See docs/feature/, docs/pattern/, and docs/algorithm/ for requirements and architecture.
§Feature Gate
All modules require the enabled feature. Without it the crate compiles to an empty
shell, which is the intended behaviour for library crates in this workspace.
Modules§
- adapter
- Adapter layer: convert raw
argvtokens to unilang token strings. - commands
- Command handlers: one function per
claude_versionsubcommand. - output
- Output formatting: text/json selection and JSON string escaping.
- settings_
io - Settings I/O: read and write Claude Code’s
settings.jsonfile.
Constants§
- COMMANDS_
YAML - Path to the YAML command definitions for this crate.
Functions§
- register_
commands - Register all
claude_versioncommands into an existing registry. - run_cli
- Run the
claude_versionCLI — 5-phase unilang pipeline.