Command Line Parsing in Python
This is an example project for showing argument parsing with argparse, cliff, and click.
Installation
Install the requirements and binaries using Setup Tools. A development install is suggested to allow you to manipulate the source and have the binaries react to the changes.
python setup.py develop
Running the Examples
The example binaries will have ben installed to the local Python binary path. As such, they should be in the current path for your shell and can be executed without the path. If they are not in the current path for your shell, you must prepend the commands with the same path as your python executable.
click Example:
click-example
cliff Example:
cliff-example help
argparse Hello Example:
argparse-hello-example
argparse Goodbye Example:
argparse-goodbye-example