Python's argparse like CommandlineHandler?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Python's argparse like CommandlineHandler?

Julien Delplanque
Hello,

Is there a way to specify:
- The "type" of command line arguments.
- The default value if none is given.
- That an argument is obligatory or optional?

A bit like argparse does in Python, if you know it.

Julien