Expand description
Parsing utilities for command-line arguments and options
Functionsยง
- get_
flag_ value - Extract the value for a flag from command arguments Returns None if flag not found or if it has no value
- has_
flag - Check if a command argument list contains a specific flag
- parse_
option - Parse a command option string into parts, handling quoted arguments properly
- parse_
options - Parse multiple space-separated options, each potentially containing quoted values
- remove_
flag - Remove a flag and its value from command arguments