Skip to main content

Module command

Module command 

Source
Expand description

Shared standard CLI commands.

Structs§

NoDoctor
Shared doctorless adapter for tools that do not expose a doctor command.

Enums§

StandardCommand
Shared metadata commands exposed by workspace binaries.

Traits§

StandardCommandMap
Map crate-local metadata commands onto the shared StandardCommand surface.

Functions§

map_standard_command
Convert a crate-local metadata command into a shared StandardCommand.
maybe_run_standard_command
Run a mapped standard command when a tool exposes one.
maybe_run_standard_command_no_doctor
Run a mapped standard command for a tool with no doctor support.
parse_command_ref_with_agent_surface_from
Parse argv and hand the typed CLI to a borrowed callback when parsing succeeds.
parse_command_with_agent_surface_from
Parse argv against the current normal or agent-filtered surface.
run_standard_command
Execute a shared standard command.
run_standard_command_no_doctor
Execute a shared standard command for a tool with no doctor support.