aboutsummaryrefslogtreecommitdiffstats
path: root/datamaps/main.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-09-28 14:25:57 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2019-09-28 14:25:57 +0100
commit65ef7cc822a3d417be488288b0ae9442b9bb141a (patch)
treef0bb373db04d1f28e976b5fbc9d189c0a5d75979 /datamaps/main.py
parentad95e9fad686ae9388ca71560e8c07aa4e6c49c5 (diff)
version fix and renamed executible to datamaps
Diffstat (limited to 'datamaps/main.py')
-rw-r--r--datamaps/main.py3
1 files changed, 2 insertions, 1 deletions
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