aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--datamaps/main.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 150e4d7..5010b34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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