aboutsummaryrefslogtreecommitdiff
path: root/voctocore/lib/args.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-10 16:28:38 +0200
committerMaZderMind <github@mazdermind.de>2015-05-10 16:28:38 +0200
commitb9ec27da68ddce2afc94454e92a78fe262812a0e (patch)
treeeb917f731b6d199c6a76b1cf541d6f6af29ca6fd /voctocore/lib/args.py
parentf8a0b46028b9c902da7ce67590f9ce952ea44544 (diff)
Implementing a Video-Switching-Server is easy … if you know what your're doing
Diffstat (limited to 'voctocore/lib/args.py')
-rw-r--r--voctocore/lib/args.py15
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()