Skip to content

Commit

Permalink
Setup app only when run
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Mar 30, 2024
1 parent 569dae8 commit bd3d669
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions circfirm/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@

_T = TypeVar("_T")

circfirm.startup.ensure_app_setup()


@click.group()
@click.version_option(package_name="circfirm")
def cli() -> None:
"""Manage CircuitPython firmware from the command line."""
circfirm.startup.ensure_app_setup()


def _maybe_output(msg: str, setting_path: Iterable[str], invert: bool = False) -> None:
Expand Down

0 comments on commit bd3d669

Please sign in to comment.