diff options
Diffstat (limited to 'voctocore/lib/args.py')
-rw-r--r-- | voctocore/lib/args.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/voctocore/lib/args.py b/voctocore/lib/args.py new file mode 100644 index 0000000..6699679 --- /dev/null +++ b/voctocore/lib/args.py @@ -0,0 +1,15 @@ +import argparse + +__all__ = ['Args'] + +parser = argparse.ArgumentParser(description='Voctocore') +parser.add_argument('-v', '--verbose', action='store_true', + help="Also print INFO and DEBUG messages.") + +parser.add_argument('-c', '--color', action='store', choices=['auto', 'always', 'never'], default='auto', + help="Control the use of colors in the Log-Output") + +parser.add_argument('-i', '---config-ini', action='store', + help="Load a custom config.ini-File") + +Args = parser.parse_args() |