diff options
Diffstat (limited to 'voctogui/lib/args.py')
-rw-r--r-- | voctogui/lib/args.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/voctogui/lib/args.py b/voctogui/lib/args.py new file mode 100644 index 0000000..3a9032f --- /dev/null +++ b/voctogui/lib/args.py @@ -0,0 +1,20 @@ +#!/usr/bin/python3 +import argparse + +__all__ = ['Args'] + +parser = argparse.ArgumentParser(description='Voctogui') +parser.add_argument('-v', '--verbose', action='count', + 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', '--ini-file', action='store', + help="Load a custom config.ini-File") + +parser.add_argument('-u', '--ui-file', action='store', + help="Load a custom .ui-File") + + +Args = parser.parse_args() |