From 65ef13b3939ffa65beca8eb74fd580cfd31d3382 Mon Sep 17 00:00:00 2001 From: Braden Mars Date: Mon, 30 Jan 2023 01:13:40 -0600 Subject: [PATCH] fix(cli): click fails to resolve package version. Signed-off-by: Braden Mars --- micropy/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/micropy/cli.py b/micropy/cli.py index 00ef1883..033e03aa 100644 --- a/micropy/cli.py +++ b/micropy/cli.py @@ -10,6 +10,7 @@ import click import micropy.exceptions as exc import questionary as prompt +from micropy import __version__ as micropy_version from micropy import main, utils from micropy.logger import Log from micropy.project import Project, modules @@ -23,7 +24,7 @@ @click.group(invoke_without_command=True) -@click.version_option() +@click.version_option(version=micropy_version) @click.option( "--skip-checks", "-s",