You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Iain Barnett 20b9c4ffec Fixed typo 3 years ago
examples Fix examples/interactive_example.py serial sub command not work bug. 6 years ago
.gitignore added jython compiled classes to git ignore 9 years ago
.travis.yml chore(.travis.yml,tox.ini): refactor CI config 4 years ago
LICENSE-MIT Format LICENSE-MIT nicely 9 years ago
MANIFEST.in Packaging improvements (#80) 9 years ago
README.rst Fixed typo 3 years ago
conftest.py allow running the tests on python 2.5 9 years ago
docopt.py Updated versions of Python used in testing. 6 years ago
setup.cfg Mark this as a universal wheel 7 years ago
setup.py Update pypi classifiers and README to match python test versions 3 years ago
test_docopt.py Updated the test_docopt 8 years ago
testcases.docopt Port some tests from test_docopt.py to testcases.docopt 9 years ago
tox.ini you don't need a tox travis section if you're not doing anything fancy 4 years ago

README.rst

``docopt`` creates *beautiful* command-line interfaces
======================================================================

.. image:: https://travis-ci.org/docopt/docopt.svg?branch=master
:target: https://travis-ci.org/docopt/docopt

.. image:: https://img.shields.io/pypi/v/docopt.svg
:target: https://pypi.python.org/pypi/docopt

Video introduction to **docopt**: `PyCon UK 2012: Create *beautiful*
command-line interfaces with Python <http://youtu.be/pXhcPJK5cMc>`_

New in version 0.6.1:

- Fix issue `#85 <https://github.com/docopt/docopt/issues/85>`_
which caused improper handling of ``[options]`` shortcut
if it was present several times.

New in version 0.6.0:

- New argument ``options_first``, disallows interspersing options
and arguments. If you supply ``options_first=True`` to
``docopt``, it will interpret all arguments as positional
arguments after first positional argument.

- If option with argument could be repeated, its default value