summaryrefslogtreecommitdiff
path: root/voctogui/lib/args.py
blob: db87fd71044a673c669c4ec5de93630af976da7e (plain)
  1. import argparse
  2. __all__ = ['Args']
  3. parser = argparse.ArgumentParser(description='Voctogui')
  4. parser.add_argument('-v', '--verbose', action='count', default=0,
  5. help="Also print INFO and DEBUG messages.")
  6. parser.add_argument('-c', '--color', action='store', choices=['auto', 'always', 'never'], default='auto',
  7. help="Control the use of colors in the Log-Output")
  8. parser.add_argument('-t', '--timestamp', action='store_true',
  9. help="Enable timestamps in the Log-Output")
  10. parser.add_argument('-i', '--ini-file', action='store',
  11. help="Load a custom config.ini-File")
  12. parser.add_argument('-u', '--ui-file', action='store',
  13. help="Load a custom .ui-File")
  14. Args = parser.parse_args()