Optionally, your package can include a console script using Click (Python 3.6+).
If the 'command_line_interface' option is set to ['click'] during setup, cookiecutter will add a file 'cli.py' in the project_slug subdirectory. An entry point is added to pyproject.toml that points to the main function in cli.py.
To use the console script in development:
pip install -e projectdir
'projectdir' should be the top level project directory with the pyproject.toml file
The script will be generated with output for no arguments and --help.
--help | show help menu and exit |
You can read more about Click at: http://click.pocoo.org/