File: aug_argparse.py

package info (click to toggle)
augustus 3.4.0%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 758,480 kB
  • sloc: cpp: 65,451; perl: 21,436; python: 3,927; ansic: 1,240; makefile: 1,032; sh: 189; javascript: 32
file content (16 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python3

import argparse

def getDefaultArgParser():
    parser = argparse.ArgumentParser(description='Execute Augustus test cases.')
    parser.add_argument('--compare',
                        action='store_true',
                        help='Compare generated results with reference results.')
    parser.add_argument('--html',
                        action='store_true',
                        help='Save diff results in html file.')
    parser.add_argument('--clean',
                        action='store_true',
                        help='Remove all files created during the tests.')
    return parser