Skip to content

Commit

Permalink
transition from typer to cyclopts
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Dec 5, 2023
1 parent 62afae1 commit ed0f490
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 243 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Features

* `Poetry Dynamic Versioning`_ - Dynamically handles your project version based on git tags.

* Optional command line interface boilerplate using Typer_.
* Optional command line interface boilerplate using Cyclopts_.

* Optional C binding support via Cython.

Expand Down Expand Up @@ -142,4 +142,4 @@ this template at https://github.com/BrianPugh/python-template .
.. _token: https://docs.docker.com/docker-hub/access-tokens/
.. _Cython: https://cython.readthedocs.io/en/latest/
.. _Poetry Dynamic Versioning: https://github.com/mtkennerly/poetry-dynamic-versioning
.. _Typer: https://typer.tiangolo.com
.. _Cyclopts: https://github.com/BrianPugh/cyclopts
4 changes: 2 additions & 2 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def main():
is_typed = is_typed in yes_terms

include_cli = validate_input(
"Would you like to include a CLI using Typer? [default: yes]",
"Would you like to include a CLI using Cyclopts? [default: yes]",
is_boolean,
default="yes",
)
Expand Down Expand Up @@ -298,7 +298,7 @@ def main():
run([POETRY_BIN, "config", "virtualenvs.in-project", "true", "--local"])

if not include_cli:
run([POETRY_BIN, "remove", "typer"])
run([POETRY_BIN, "remove", "cyclopts"])
run([POETRY_BIN, "remove", "rich"])

run([POETRY_BIN, "update"])
Expand Down
Loading

0 comments on commit ed0f490

Please sign in to comment.