cli
Releases (2)
Definitions (1,008)
cli.bend
- def finish_optional_value
- def finish_long
- def parse_long_prefixedA long name after "--[no-]" or "--", at column start.
- def parse_short_tail
- def parse_short
- def parse_usage_body
- def ends_in_ellipsisWhether s ends in "...": run counts the dots just before s.
- def parse_usage_repeated
- def parse_usage
- def alias_valid_result
- def valid_arg_alias
- def kind_pos
- def kind_optional_pos
- def kind_variadic_pos
- def kind_required_pos
- def kind_valued
- def kind_bare
- def kind_default_allowed
- def kind_required_allowed
- def kind_delim_allowed
- def bad_attr
- def misplaced_attr_name
- def maybe_misplaced
- def placement_issues
- def value_type_names
- def extra_type_issues
- def duplicate_type_issues
- def command_attr_name
- def has_rest
- def has_hidden
- def has_builtin
- def has_bare
- def has_required
- def duplicate_strings
- def bad_choices
- def find_default
- def find_delim
- def split_each
- def apply_delim
- def find_id
- def find_requires
- def find_conflicts
- def find_group_attrs
- def find_aliases
- def scope_groups
- def scope_group_rules
- def usage_kind
- type LintItemAn item as lint walks it: an Arg with its usage parsed once, a Sub with its children's too.
- def lint_items
- def has_pos_item
- def has_sub_item
- def has_version_item
- def name_scan_valid
- def valid_command_name
- def use_id
- def usage_id
- def scope_ids
- type Seen
- def same_goString.eq, without rebuilding both strings to hand them back; the walk stops at the first difference.
- def same_text
- def same_nonempty
- def arg_collision
- def sub_collision
- def arg_alias_collision
- def maybe_dup
- def when_problem
- def arg_alias_issue
- def arg_alias_issues
- def arg_alias_entries
- def arg_entries
- def has_global
- def global_entries
- def sub_alias_issue
- def sub_alias_issues
- def sub_alias_entries
- def missing_refs
- def valid_u32A U32 value is what U32.read reads (P22).
- def decimal_digitsDecimal digits by Nat.read's own test, which Char.is_digit agrees with.
- def valid_natA Nat value is what Nat.read reads (P22): digits that, less leading zeroes, fit under its cap of 2^48-1.
- def valid_bool
- type DecimalState
- def is_exponent
- def is_sign
- def decimal_step
- def decimal_accept
- def decimal_scan
- def valid_f32
- def find_one_of
- type BadThe first element of a value that fails to convert, and why.
- def find_as
- def type_reason
- def quoted_choices
- def choices_reason
- def choice_reason
- def reason_from_type
- def first_reason
- def value_reason
- def bad_value
- def first_bad
- def split_bad