Home

Awesome

Cookiecutter CMD2 Basic Project

Cookiecutter template for a Python CMD2 application.

Features of generated Application

Quickstart

Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher)::

pip install -U cookiecutter

Generate a Python package project::

cookiecutter https://github.com/jayrod/cookiecutter-python-cmd2.git

Options

FieldDefaultDescription
full_nameGithub UserUsed to describe the auther of this application.
emailvoxebeg454@example.comHow to get in touch with the author.
project_namePythonBoilerplateCMD2This is the application name used during installation and in the README docutmentation
project_slug{sanitized project_name}Name of the python package
project_short_description"Command Line Tool"Short project description
command_namecmd2command name used for invocation after installation
version0.1.0Initial software version
use_pytestyesAdds sample pytests
create_author_fileyesAdds given full_name to an Author file
create_banneryesCreates a placeholder banner
use_sphinxyesAdds sphinx autodocumentation support
open_source_licenseMIT licenseLets you choose a license structure

Screencast

asciicast

Not Exactly What You Want?

Don't worry, you have options:

Fork This / Create Your Own

If you have differences in your preferred setup, I encourage you to fork this to create your own version. Or create your own; it doesn't strictly have to be a fork.

Or Submit a Pull Request

I also accept pull requests on this, if they're small, atomic, and if they make my own packaging experience better.