docs/index.rst
author Alexander Solovyov <piranha@piranha.org.ua>
Sun, 02 Aug 2009 15:47:28 +0300
changeset 67 8c9a7533abea
parent 60 1d27eceed4d2
child 75 2782b2406ba8
permissions -rw-r--r--
not everybody knows Die Krupps, add link

=============
 Finaloption
=============

::

  If that's the Final Option,
  I'm gonna choose it.
                   Die Krupps

.. toctree::
   :maxdepth: 2

   changelog
   overview
   api

Finaloption is a command line parser, intended to make writing command line
applications easy and painless. It uses built-in Python types (lists,
dictionaries, etc) to define options, which makes configuration clear and
concise. Additionally it contains possibility to handle subcommands (i.e.
``hg commit`` or ``svn update``).

JFYI: name is derived from `Die Krupps'`_ song `Final Option`_, featured in
epigraph.

.. _Final Option: http://musi.cx/music/Die_Krupps/III_Odyssey_of_the_Mind/The_Final_Option/
.. _Die Krupps': http://en.wikipedia.org/wiki/Die_Krupps


Features
--------

 - parsing arguments from sys.argv or custom strings
 - converting from string to appropriate Python objects
 - help message generation
 - positional and named arguments
 - subcommands support
 - short, clean and concise definitions
 - ability to shorten names of subcommand and long options