Cookiecutter to create CLI applications with Typer and using Rich
cookiecutter https://github.com/reka/cookiecutter-typer-rich
You need to have installed:
- cookiecutter
- Poetry
If you don't have Poetry installed:
=>
- The project skeleton still gets generated.
- The post-gen steps are skipped.
- single command
- multiple commands
typer.Typer
application with 1 or 2 commands- CLI tests with
typer.testing.CliRunner
- unit tests
- formatted with Black and isort
After the project has been generated, the following steps are executed:
- Create a virtual environment with Poetry.
- Run the generated tests.
- Run the command(s).