Pythonic argument parser for humans
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
consoleargs
.gitignore
README
README-ru.md
README.md
sample.py
setup.py
test_consoleargs.py

README.md

Argument parser for humans

This library implements simple argument parser, based on function signature and docstring messages

Usage

Usage example:

>>> from consoleargs import command
>>> @command
>>> def main(destination, name=None, verbose=0):
>>>   """
>>>    :param destination: Where to look
>>>    :param name: Whot to search
>>>    :param verbose: How much to talk
>>>   """
>>>   print destination, name, verbose