aboutsummaryrefslogtreecommitdiffstats
path: root/src/blimp/cli.py
blob: fc973eba82887d0368c5b3db4a8e586ac461505a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import argparse

from blimp.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()