From bd3d669f20db37c8634070082b7efddef3b39340 Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Sat, 30 Mar 2024 18:10:01 -0400 Subject: [PATCH] Setup app only when run --- circfirm/cli/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/circfirm/cli/__init__.py b/circfirm/cli/__init__.py index cf6faad..087fadf 100644 --- a/circfirm/cli/__init__.py +++ b/circfirm/cli/__init__.py @@ -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: