Skip to main content

Module parse

Module parse 

Source

Structs§

ParseOutput
Parser
Builder for parsing command-line arguments with custom options.
TokenBinding
One word of the command line, and what it became.

Enums§

ParseValue
TokenRole
What one word of the command line became.
ValueOrigin
Where a value came from, when it did not come from the command line.

Functions§

available_flags
Every flag a command accepts, resolved the way parsing an invocation of it resolves them.
multicall_applet
The applet name to parse as the first word, when argv[0] is not the dispatcher.
multicall_basename
Basename of argv[0] for a multicall CLI: last path component, with a trailing .exe stripped so Windows and Unix agree.
parse
Parse command-line arguments according to a spec.
parse_partial
Parse command-line arguments without applying defaults.