Module cli

Source
Expand description

Command-line parsing helpers for the compiler binary.

Structsยง

CliConfig
Parsed CLI configuration for one compiler invocation.
EmitConfig ๐Ÿ”’

Enumsยง

CliError
CLI argument parsing error.

Functionsยง

help_text
Render the CLI help text.
is_option_like ๐Ÿ”’
Return whether an argument still looks like an option after parsing.
parse_emit_flags ๐Ÿ”’
Parse CLI emit-path flags before delegating to pico_args.
parse_env
Parse CLI arguments from the current process environment.
parse_from
Parse CLI arguments from an explicit vector.
version_text
Return a short version string used by the CLI.