Skip to content
Pythonic argument parser for humans
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
Something went wrong with that request. Please try again.