oa_gateway

Module cli

Source
Expand description

Parses argv into help, version, or a config path.

The binary takes one positional argument and no optional flags beyond --help and --version. Unknown flags are errors, not config paths, so a typo is not treated as a missing file.

Enumsยง

  • Cli ๐Ÿ”’
    Outcome of parsing the command line.

Constantsยง

  • USAGE ๐Ÿ”’
    Operator-facing usage text for -h / --help.

Functionsยง

  • parse_args ๐Ÿ”’
    Parses command-line arguments after the program name.