diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | datamaps/main.py | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -2,3 +2,4 @@ cli.spec build/ dist/ +datamaps.spec diff --git a/datamaps/main.py b/datamaps/main.py index 408b68f..8e78a93 100644 --- a/datamaps/main.py +++ b/datamaps/main.py @@ -24,6 +24,7 @@ import click import colorlog from click import version_option +from datamaps import __version__ from engine.adapters import cli as engine_cli from engine.config import Config as engine_config @@ -49,7 +50,7 @@ class Config: pass_config = click.make_pass_decorator(Config, ensure=True) -@version_option() +@version_option(__version__) @click.group() @click.option("--verbose", is_flag=True) @pass_config |