From fbcfcae766df75d80599c2307c29c35679f74580 Mon Sep 17 00:00:00 2001 From: Alec Delaney <89490472+tekktrik@users.noreply.github.com> Date: Tue, 15 Nov 2022 01:14:31 -0500 Subject: [PATCH] Add preliminary version checking support --- circfirm/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/circfirm/cli.py b/circfirm/cli.py index 66f9200..b23ba56 100644 --- a/circfirm/cli.py +++ b/circfirm/cli.py @@ -19,8 +19,11 @@ import circfirm.backend import circfirm.startup +__version__ = "0.0.0+auto.0" + @click.group() +@click.version_option(__version__) def cli() -> None: """Install CircuitPython firmware from the command line.""" circfirm.startup.ensure_app_setup()