Skip to main content

Module flags

Module flags 

Source
Expand description

Global framework flags and flag-extraction helpers.

Structs§

GlobalFlags
Parsed framework-global flags.

Functions§

derive_bool_flags
Derives flag names that do not consume the following token.
derive_value_flags
Derives flag names that consume the following token.
extract_command_path
Extracts a colon-separated command path from raw args.
extract_output_format
Extracts --output/-o from raw args before normal parsing.
extract_search_query
Extracts --search from raw args before normal parsing.
global_flags_from_matches
Extracts framework-global flags from parsed clap matches.
has_true_schema_flag
Reports whether raw args contain a true --schema flag.
register_global_flags
Registers framework-global flags on a clap command.