docs/changelog.rst
author Alexander Solovyov <piranha@piranha.org.ua>
Tue, 06 Apr 2010 16:02:08 +0300
changeset 111 e40251bf5a23
parent 94 0178aca18a6d
child 120 bf6908d12aae
permissions -rw-r--r--
revert changes from 0178ac: don't require argv=sys.argv[1:]

Changelog
---------

0.9.10
~~~~~~

 - if default value of an option is a fuction, always call it (None is passed in
   case when option is not supplied)
 - always call a function if it's default argument for an option
 - some cleanup with better support for python 3
 - initial support for autocompletion (borrowed from PIP)

0.9.9
~~~~~
 - Now it's possible to call commands as regular function, where every
   non-supplied option will receive proper default (defined in option spec)
 - Globaloptions were simply dropped after parsing, fold them in regular options
 - Replace _ with - in command names, same as in options names
 - Respect empty strings as usage

0.9.8
~~~~~
Fixed bug with option names clashing with name of arguments for call_cmd. 

0.9.7
~~~~~
Library renamed to opster.

0.9.6
~~~~~
 - Checks for option definition: long name should be specified always, short
   name should be 1 character in length if available.
 - More specific argument name in guessed usage (this happens if you have not
   specified usage for command).
 - Ability to add global decorator for all commands. See ``test.py`` in
   repository for example: ``ui`` object, to handle verbose/quiet options.

0.9.5
~~~~~
Fixed bug, which prevented programs to work without arguments (displayed help
instead) if they are not using subcommands.

0.9.4
~~~~~
 - Ability to hide subcommands from help listing.
 - Append program name to subcommand usage.

0.9.3
~~~~~
Minor fix for setup.py, to avoid troubles with installing when there is no docs
in package.

0.9.2
~~~~~
Ability to call commands as regular functions, using arguments and keyword
arguments.

0.9.1
~~~~~
Fixed problem with multiple help options in subcommands

0.9
~~~
Initial version