argparse
Creating and using parsers
Parsing command line arguments
Error handling
Help option
Typo autocorrection
Configuring parsers
Adding and configuring arguments
Setting number of consumed arguments
Adding and configuring options
Flags
Control characters
Setting number of consumed arguments
Setting number of invocations
Mutually exclusive groups
Adding and configuring commands
Getting name of selected command
Adding elements to commands
Making a command optional
Default values
Default mode
Callbacks
Converters
Table converters
Actions
Argument and option actions
Built-in actions
Command actions
Miscellaneous
Generating and overwriting help and usage messages
Overwriting default help option
Setting argument placeholder
Disabling option handling
Prohibiting overuse of options
Parsing algorithm
Property lists
Parser properties
Command properties
Argument properties
Option and flag properties
argparse
Docs
»
Please activate JavaScript to enable the search functionality.