Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 848 Bytes

File metadata and controls

29 lines (20 loc) · 848 Bytes

Python Typer CLI Framework

This is a CookieCutter template for a CLI app framework using Typer

Setup CookieCutter

Install cookiecutter with pipx, or use plain pip if you like to live dangerously

pipx install cookiecutter

Create a cli app from this template

# 1. Create the repo
cookiecutter gh:ben.higgs/python-typer-cli-framework
<<cookiecutter config questions>>

# 2. Init the repo
cd my-cli-project
make venv
. .venv/bin/activate

# 3. Your CLI tool is ready to go!
my-cli-project --help

cookiecutter will interactively ask for info about the app & create all the neccesary files for you, you can also provide a config file using --config-file if you have a predefined config