docs/changelog.rst
author Alexander Solovyov <piranha@piranha.org.ua>
Sun, 06 Sep 2009 16:32:32 +0300
changeset 87 ec9736668bca
parent 85 baa6caa786af
child 94 0178aca18a6d
permissions -rw-r--r--
when calling command from python set not supplied options to proper defaults Earlier you would get full option spec (short, default, help) for every option, not supplied as argument (or keyword argument) in function call.

Changelog
---------

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