Skip to main content

Module cli_args

Module cli_args 

Source
Expand description

Shared clap::Args groups flattened into per-command argument structs.

Flags here used to live as global = true on the top-level Cli, which made every command’s --help display the union of every flag the binary accepted. Bucketing them into per-command groups keeps --help focused on what each command actually consumes.

Pre-subcommand placement (aube --frozen-lockfile install, aube --registry=URL install, …) keeps working through the argv-rewriting pass in main::lift_per_subcommand_flags, which shifts these flags past the subcommand before clap parses argv.

Structs§

LockfileArgs
NetworkArgs
VirtualStoreArgs