Generate argparse parser from function definitions.
Project description
Argscript is a port of werkzeug.script to argparse. Argscript generates a an argparse command line parser from the function definitions of a script.
An action is a function in the same module starting with action_ which takes a number of arguments where every argument has a default. The type of the default value specifies the type of the argument. Arguments can then be passed by using –name=value from the shell. [werkzeug.script]
Installation
development version::
git clone git@github.com:hoffmann/argscript.git cd argscript sudo python setup.py install
from pypi.python.org::
pip install argscript
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
argscript-0.5.tar.gz
(2.1 kB
view hashes)