aboutsummaryrefslogtreecommitdiff
path: root/voctogui/lib/args.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-23 10:43:56 +0200
committerMaZderMind <github@mazdermind.de>2015-05-23 10:44:11 +0200
commite1fae24a3b145d42eaa40d62f7aed8f00d6bdf51 (patch)
treecb38d834e72435ab6e5aba48bcf1b0abed0ec703 /voctogui/lib/args.py
parentf59f27430b221fa5cd395ed6c747d282bcb18246 (diff)
basic gui
Diffstat (limited to 'voctogui/lib/args.py')
-rw-r--r--voctogui/lib/args.py20
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()