cli
Search uses release 0.2.0.0 · 1,008 definitions
Definitions (1,008)
- def value_badA delimited value splits first; the first element that fails (§8.2).
- def value_issueA value from env or a default converts each element on its own (§8.2).
- def bad_default
- def check_default
- def choice_badThe first choice the arg's type rejects; after a hit it only walks the rest.
- def bad_choice
- def check_choicesParse checks a value's type before its choices, so a choice the type rejects could never be given.
- def positional_issue
- def bare_issue
- def misplaced_arg
- def arg_reserved_dup
- def arg_issues
- def arg_problems
- def has_external
- def has_sub_optional
- def needs_subA command that cannot complete without a subcommand (§8.4).
- def required_misplacedEach required() among attrs, as Misplaced at at.
- def dead_required_option
- def dead_required_kindAn option's required() that descent drops; a flag's or a positional's is already misplaced by its kind.
- def dead_required_arg
- def dead_required_items
- def dead_requiredA command that needs a subcommand passes down only its global options' values (§8.4), so another option's required() can never be met.
- def command_body_issueshas_pos: whether items has a positional.
- def sub_name_issues
- def lint
- def problems
- type Src
- type Var
- type Host
- type Field
- type ScanEvent
- type ScanFault
- type ExternalArgs
- type ScanTrace
- type ParseResult
- type Early
- type GatherAn arg's hits so far: values holds a repeated option's newest first, so each hit conses, and resolve_argv_gather puts them back in argv order.
- type FieldBuild
- type EnvValue
- def host
- def host_var
- def var_value
- def host_value
- type ArgInfo
- type OptFound
- type SubFound
- type SubKeyA subcommand a scope answers to, by name or alias.
- type OptKeyAn option name a scope answers to, with the match it makes.
- type SpecItemAn item resolve walks: an Arg with its usage parsed once, or another item.
- type SpecA scope with each usage parsed once: its option names (own, then global), the items resolve walks (global, then own), its positionals and subcommands, and the globals its subcommands inherit.
- type Scope
- type ScanState
- type TailPhases after which no token is an operand and `--` is plain.
- type Mode
- def arg_info_parsed
- def arg_info
- def arg_display
- def short_digit
- def info_attrs
- def info_kind
- def info_id
- def scope_path
- def arg_in_group
- def group_globalWhether each arg items put in group name is global().
- def global_goWhat items pass down to their subcommands, in their order: each global() arg, and each exclusive or need_one rule over a group whose args in all are each global(), so that it holds in every subcommand below.
- def global_items
- def kind_negatable
- def negated_long
- def option_matches
- def find_option
- def key_found
- def find_keyThe first key named query; after a hit it only walks the rest.
- def head_namedWhether keys' first key is named query.
- def key_rankThe position of the first of keys named query, where hit says whether keys' head is and at is its position.
- def key_found_at
- def key_atList.get drops each key it passes whole, where a walk over OptKey would open it.
- def key_lookupfind_key(keys, query, None{}), copying only the key it finds.
- def key_knownWhether keys hold one named query, read without copying the key.
- def find_option_scopeA scope's own args answer before its globals, as in find_option.
- def has_aliasWhether items alias query; after a hit it walks no further.
- def alias_hit
- def sub_hit
- def sub_found
- def find_sub_goThe first Sub named or aliased query; after a hit it walks no further.
- def find_sub
- def positional_items
- def has_variadic_pos
- def positional_can_take
- def opt_keyname as a key of info; only info's --no- long clears the flag, as in option_matches.
- def name_keys
- def nonempty_name
- def info_namesThe names option_matches accepts for info, in its order.
- def spec_keys
- def spec_itemsitems less their Subs, each Arg's usage parsed once.
- def global_specglobal_go over items parsed, with all as written.
- def spec_slots
- def slots_variadic
- def info_digit_short
- def spec_digit_short
- def raw_subs