Skip to content

⚡️ Modern cookiecutter template for python cli apps

License

Notifications You must be signed in to change notification settings

chamoda/cookiecutter-typer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Cookiecutter Typer

Modern cookiecutter template for python cli apps with,

Requirements

Installation

  • Intall cookiecutter using pipx install cookiecutter.
  • Install poetry using pipx install poetry.
  • Run cookiecutter https://github.com/chamoda/cookiecutter-typer.git to create a new project from template.

Getting started

After template created following steps gets you ups and running with the working cli app.

  • Create git repo inside the template with git init && git add . && git commit -m "Init"
  • Create a virtual enviroment with python3 -m venv venv and active it using source venv/bin/activate
  • Go to newly create project directory and run poetry install
  • Run pre-commit install to install git hooks.
  • Run cli-template or equalant name you used for app-slug to run cli.
  • Run tests with pytest

Contributing

  • Clone this project
  • Run cookiecutter PATH_TO_PROJECT --replay --overwrite-if-exists rerun changes to project back into created template for testing.

About

⚡️ Modern cookiecutter template for python cli apps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published