No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test/$project_name
.gitignore
Pipfile
Pipfile.lock
README.md
cxa.py.jnj
manifest.cxa.yml
pyproject.toml.jnj
setup.cfg.jnj
setup.py.jnj

README.md

CXA Python CLI Template

Python 3.7 based template for a CLI application.

Usage

  1. Install Pipenv https://pipenv.readthedocs.io/en/latest/install/#installing-pipenv
  2. Run pipenv run python cxa.py install to install the project dependencies
  3. Run pipenv run python cxa.py run to run the example app

Code Formatting and Linting

Formatting

Run pipenv run python cxa.py format to run the Black formatter.

Linting

Run pipenv run python cxa.py lint to run Black and Flake8.

Template Variables

  • project_name: string with no whitespace
  • project_human_name: string
  • description: string
  • author: string
  • author_email: optional string
  • website: optional string
  • repository: optional string
  • license: optional string
  • max_line_length: integer