Skip to content

Commit

Permalink
Merge e99b9bf into 4e7cb0b
Browse files Browse the repository at this point in the history
  • Loading branch information
austinbyers committed Dec 12, 2017
2 parents 4e7cb0b + e99b9bf commit 919eeb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
from rules import compile_rules, clone_rules
from tests.rules.eicar_rule_test import EICAR_STRING

# BinaryAlert version.
VERSION = '1.1.0.beta'

# File locations.
PROJECT_DIR = os.path.dirname(os.path.realpath(__file__)) # Directory containing this file.
TERRAFORM_DIR = os.path.join(PROJECT_DIR, 'terraform')
Expand Down Expand Up @@ -502,6 +505,7 @@ def main() -> None:
parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument(
'command', choices=sorted(manager.commands), help=manager.help, metavar='command')
parser.add_argument('--version', action='version', version='BinaryAlert v{}'.format(VERSION))
args = parser.parse_args()

manager.run(args.command)
Expand Down

0 comments on commit 919eeb0

Please sign in to comment.