Skip to main content

Module init_cmd

Module init_cmd 

Source
Expand description

oo init argument parsing and dispatch.

Split out of commands.rs to keep that module under the 500-line cap.

Enums§

InitMode
Resolved mode for oo init: the legacy --format value or the new --agent target (issue #171).

Constants§

SUPPORTED_AGENTS
Agents supported by oo init --agent. Keep in sync with the match in [parse_init_mode]; init_args_tests checks every entry parses.

Functions§

cmd_init
Run the install selected by mode; returns the process exit code.