Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 978 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 978 Bytes

cookiecutter-typer-rich

Cookiecutter to create CLI applications with Typer and using Rich

Usage

cookiecutter https://github.com/reka/cookiecutter-typer-rich

Prerequisites

You need to have installed:

If you don't have Poetry installed:

=>

  • The project skeleton still gets generated.
  • The post-gen steps are skipped.

Options

  • single command
  • multiple commands

Scope

  • typer.Typer application with 1 or 2 commands
  • CLI tests with typer.testing.CliRunner
  • unit tests
  • formatted with Black and isort

Post-Generation Steps

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).