Skip to content

Prompt arguments

When running the command ccp a prompt will start which enables you to configure your repository. The prompt values and their explanation are as follows:


author

Your full name.

email

Your email address.

author_github_handle

Your github handle, i.e. <handle> in https://github.com/<handle>

project_name

Your project name. Should be equal to the name of your repository and it should only contain alphanumeric characters and -'s.

project_slug

The project slug, will default to the project_name with all -'s replaced with _. This will be how you import your code later, e.g.

from <project_slug import foo

project_description

A short description of your project.

include_github_actions

"y" or "n". Adds a .github directory with various actions and workflows to setup the environment and run code formatting checks and unittests.

publish_to

"pypi" or "none". Adds functionality to the Makefile and Github workflows to make publishing your code as simple as creating a new release release on Github. For more info, see Publishing to Pypi.

mkdocs

"y" or "n". Adds MkDocs documentation to your project. This includes automatically parsing your docstrings and adding them to the documentation. Documentation will be deployed to the gh-pages branch.

tox

"y" or "n". Adds automatic Tox testing for compatibility with multiple versions of Python.

mypy

"y" or "n". Adds automatic static type checking with mypy.

dockerfile

"y" or "n". Adds a simple Dockerfile.

open_source_license

Choose a license. Options: ["1. MIT License", "2. BSD license", "3. ISC license", "4. Apache Software License 2.0", "5. GNU General Public License v3", "6. Not open source"]