()
| 7 | |
| 8 | @Gooey() |
| 9 | def main(): |
| 10 | parser = GooeyParser(description='Process some integers.') |
| 11 | |
| 12 | parser.add_argument('required_field', |
| 13 | metavar='Some Field', |
| 14 | help='Enter some text!') |
| 15 | |
| 16 | parser.add_argument('-f', |
| 17 | '--foo', |
| 18 | metavar='Some Flag', |
| 19 | action='store_true', |
| 20 | help='I turn things on and off') |
| 21 | |
| 22 | parser.parse_args() |
| 23 | print('Hooray!') |
| 24 | |
| 25 | |
| 26 | if __name__ == '__main__': |