summaryrefslogtreecommitdiff
path: root/README.txt
blob: fbd44c51d0692f5289ef728a1b6d4084f5d3f3fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
argparse 1.1
============
The argparse module provides an easy, declarative interface for
creating command line tools, which knows how to:

* parse the arguments and flags from sys.argv
* convert arg strings into objects for your program
* format and print informative help messages
* and much more... 

The argparse module improves on the standard library optparse module
in a number of ways including:

* handling positional arguments
* supporting sub-commands
* allowing alternative option prefixes like + and /
* handling zero-or-more and one-or-more style arguments
* producing more informative usage messages
* providing a much simpler interface for custom types and actions 

Requirements & Installation
---------------------------
The argparse module requires Python 2.3 or greater, and can be
installed with the standard Python installation procedure:

  python setup.py install

Availability & Documentation
----------------------------
The latest version of argparse, along with API documentation and
examples can be found at:

  http://code.google.com/p/argparse/