Slide 8
Slide 8 text
https://github.com/stecklin/pycon22-jsonargparse
● Compare python 0_argparse.py --help and python 1_cli.py --help
● Run python 1_cli.py PyCON --year 2022
● Print config using python 1_cli.py --print_config > config.yaml
● Edit config.yaml
● Run python 1_cli.py --config config.yaml
● Run python 1_cli.py --config config.yaml --year 2024
● Run python 1_cli.py --year 2024 --config config.yaml
● Run PYCON_CONFERENCE_NAME=PyCON PYCON_YEAR=2024 python
2_cli_with_env_variables.py
Live Demo