mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
5 lines
169 B
Python
5 lines
169 B
Python
import argparse
|
|
|
|
parser = argparse.ArgumentParser(prog='myprogram')
|
|
_ = parser.add_argument('--foo', help='foo of the %(prog)s program')
|
|
print(vars(parser.parse_args())) |