fargv
A very easy to use argument parser for Python scripts.
LLM / AI reference: https://raw.githubusercontent.com/anguelos/fargv/main/llms.txt
Contents
- Quickstart
- fargv Features
- Type inference from Python literals
- Four definition styles
{key}string interpolation- Mandatory parameters
- Count-switch parameters (
-vvv) - Automatic short-name aliases
- Config file support
- Environment variable overrides
- Subcommands
- Bash autocomplete
- GUI backends
- Zero-script CLI (
python -m fargv) parse_and_launchparse_here()- Positional parameters
- Rich path / file types
- Comparison with other frameworks
- Defining a Parser
- Return Types
- Subcommands
- GUI and Backends
- Config Files and Environment Variables
- Parameter Types
- API Reference
- Legacy API Reference
- Command Line Reference