Skip to main content

Module cli

Module cli 

Source

Structs§

Cli
ResolvedSettings
A Settings paired with its per-leaf SettingsProv. Bundled because every non-init CliResult variant needs both, the active values for runtime use and the provenance for source attribution (/settings API and config show). prov is Arc so it can move into the app state without a re-allocation; SettingsProv is also large enough that an inline owned value would balloon CliResult.
ShowConfigOptions
Options for the config show command

Enums§

CliResult
Command
ConfigAction

Constants§

DOC_BUILD_CRATESIO_INDEX_ARG
Long flag of DOC_BUILD_SUBCOMMAND for the crates.io index override.
DOC_BUILD_SUBCOMMAND
Name of the hidden subcommand that builds the docs of a single crate.

Functions§

cli_flag_map
Map every settings leaf (dotted path) to its user-facing CLI flag(s).
parse_cli