diff options
Diffstat (limited to 'src/blimp/cli.py')
-rw-r--r-- | src/blimp/cli.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/blimp/cli.py b/src/blimp/cli.py new file mode 100644 index 0000000..12bd1dc --- /dev/null +++ b/src/blimp/cli.py @@ -0,0 +1,16 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +import argparse + +from .main import Blimp + + +def cli(): + parser = argparse.ArgumentParser() + parser.add_argument("-out", "--outfile", help="set path to output file", action="store", default=None) + parser.add_argument("-dr", "--dry-run", help="perform a dry run", action="store_true", default=False) + args = parser.parse_args() + + # run + Blimp(args).main() |