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