Skip to main content

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

This version

0.5

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 details)

Uploaded Source

File details

Details for the file argscript-0.5.tar.gz.

File metadata

  • Download URL: argscript-0.5.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for argscript-0.5.tar.gz
Algorithm Hash digest
SHA256 569b8537b709c4b36826afe02693a3d3a834eb1d83e833d8968bbe6a82319d9d
MD5 564d9a42ba2cfc96e6ed10e541657b68
BLAKE2b-256 57353954379f2e91098b218c59c1d5a837791fa65da443611da39c93a4ecd9aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page