summaryrefslogtreecommitdiff
path: root/voctocore/lib/args.py
blob: 3f1f3df1d52be4c6efb20082d44407b5342303f7 (plain)
  1. import argparse
  2. __all__ = ['Args']
  3. parser = argparse.ArgumentParser(description='Voctocore')
  4. parser.add_argument('-v', '--verbose', action='store_true',
  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('-i', '--ini-file', action='store',
  9. help="Load a custom config.ini-File")
  10. Args = parser.parse_args()