Expand description
CLI top level command and processing
Structs§
- Completion
Command - Output shell completion code for the specified shell (bash, zsh, fish, or powershell). The
shell code must be evaluated to provide interactive completion of
osccommands. This can be done by sourcing it from the .bash_profile. - Connection
Opts - Connection options.
- Connection
Requirements - Pre-connect behavior a parsed command wants from the CLI entry point.
- Global
Opts - Global CLI options.
- Output
Opts - Output configuration.
Enums§
- Micro
Version Strategy Arg - Microversion negotiation strategy (CLI-facing mirror of
openstack_sdk::MicroVersionStrategy, kept separate socli/coredoes not need a hard dependency on the full SDK crate for a single enum). - Output
Format - Output format.
- Table
Arrangement - Table arrangement.
Traits§
- CliArgs
- Trait for getting Command execution context.
- Connection
Requirements Provider - Provides pre-connect
ConnectionRequirementsfor a parsed command.
Functions§
- parse_
config - Parse config file
- resolve_
api_ version - Resolve a per-service API version selector by scanning the real process
arguments directly. This has to happen before clap builds the
Commandtree (insideArgs::augment_args), i.e. before anyArgMatchesexist — so it can’t go through clap itself. Once the tree is built, the actual (clap-parsed, env-aware, default-applying) value is read normally fromArgMatchesinFromArgMatches::from_arg_matches; this function is only ever used to decide which version’s subcommand tree to attach. - styles