cli
Search uses release 0.2.0.0 · 1,008 definitions
Definitions (1,008)
- def non_command
- def route_call
- def route_foundNo route for the path is checked first, then every key names a command.
- def route_pick
- def route
- def sample_typed
- def sample_choice
- def sample_value
- def sample_field
- def sample_argsEach arg in scope: its default as parse resolves it, else a sample value.
- def sample_fields
- def sample
- def sub_pathsThe paths below prefix that can complete, in pre-order, without built-ins.
- def sample_paths
- def decode_bug
- def cmd_name
- def sample_bugs
- def check
- type Term
- def host_tty
- def color_attrsRules 1 and 2 apply only to color() exactly as declared.
- def is_color
- def has_color
- type PrescanThe pre-scan of argv: the last --color value before `--`, "" for a bare --color before a hyphen token.
- def color_seek
- def color_want
- def color_step
- def color_scan
- def color_word
- def color_value
- def color_pick
- def color_flag
- def var_setAn empty variable counts as unset.
- def var_is
- def force_set
- def env_off
- def env_force
- def env_rules
- def env_colorRules 3-6; None leaves rule 7, each stream's TTY.
- def term_env
- def term_for
- def term
- def plain
- def page_width
- def summaryThe first paragraph: the text before the first blank line.
- def shown_text
- def filled
- def join_filled
- type ViewThe command at the longest valid prefix of a path, with the globals it inherits, root first; stuck once a step names no subcommand.
- def find_command
- def view_enter
- def view_step
- def view_walk
- def view_of
- def arg_pos
- def has_plain_option
- def required_elem
- def required_options
- def group_elem
- def group_elemsEach need_one group of items, over args, that done does not name yet.
- def positional_elems
- def command_elems
- def options_elem
- def usage_elemsThe path, [OPTIONS], required options, need_one groups as E06 writes them, positionals, then the subcommand slot.
- def segment_texts
- def usage_view
- def usage
- def usage_restUsage wraps between elements and continues at column 7.
- def usage_block
- type RowA help row: its left cell, whether it is an option with a short or a long-only option, and its right text.
- type Section
- def tag
- def maybe_list
- def list_or_none
- def right_text
- def bold_names
- def value_cutWhere an option's value or repeat starts: " <", "[=", or a final "...".
- def option_leftOption names bold; separators, value and repeat plain.
- def arg_row
- def find_heading
- def option_row
- def option_rowsThe visible options under a heading, "" for Options.
- def positional_row
- def positional_rows
- def command_row
- def command_rows
- def help_sub_row
- def builtin_rowA built-in option row, without its short when an app arg took it.
- def help_text
- def version_row
- def heading_titlesHeadings of visible args, in order of first use.
- def heading_sections
- def args_paragraphsWhether a visible arg's help has more than one paragraph.
- def indent_cell
- def row_cellA left cell; long-only options indent 4 more on a page with a short.
- def cell_width
- def row_short
- def any_short
- def widestL, the widest left cell w with 2 + w + 2 <= K.
- def pad_line