Skip to main content

Crate claude_version

Crate claude_version 

Source
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 argv tokens to unilang token strings.
commands
Command handlers: one function per claude_version subcommand.
output
Output formatting: text/json selection and JSON string escaping.
settings_io
Settings I/O: read and write Claude Code’s settings.json file.

Constants§

COMMANDS_YAML
Path to the YAML command definitions for this crate.

Functions§

register_commands
Register all claude_version commands into an existing registry.
run_cli
Run the claude_version CLI — 5-phase unilang pipeline.