Skip to content

masoncusack/simple-python-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python CLI

Built using this tutorial.

Tested on macOS.

Prerequisites:

Install poetry with:

curl -sSL https://install.python-poetry.org | python - && \
export PATH="$HOME/.poetry/bin:$PATH"

Change the name of the CLI, and point it to the typer app, in pyproject.toml:

[tool.poetry.scripts]
simple-python-cli = "simple_python_cli.main:app"

To test locally:

poetry install
simple-python-cli -h
simple-python-cli shoot

To build (create a .whl):

poetry build

About

Simplest possible template for creating Python CLIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages