Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Add a --version flag. (#437)
Browse files Browse the repository at this point in the history
This commit adds a  flag, for salient reasons.
  • Loading branch information
lukesneeringer authored and alexander-fenster committed Jul 11, 2018
1 parent c032613 commit 91d3cd8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions artman/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ def _adjust_root_dir(root_dir):

def parse_args(*args):
parser = argparse.ArgumentParser()
parser.add_argument(
'--version',
action='version',
version='%(prog)s {0}'.format(VERSION),
)
parser.add_argument(
'--config',
type=str,
Expand Down

0 comments on commit 91d3cd8

Please sign in to comment.