Setting Default Option Values from Config Files with Click
How to set up a Click program to read default option values from a config file
Click is a Python library that allows one to add command-line interfaces to one’s code by augmenting a “main” function with function decorators specifying the options & arguments the resulting command should take. It is a considerable improvement over the Python standard library’s argparse module (especially when subcommands are involved), and it even comes with utilities for testing one’s commands.
How to set up a Click program to read default option values from a config file