- When function arguments (which become command line options) had underscores in them, they appeared in help as unnamed argument (GH-60). No more.
- Improve guessing abilities under Python 3 (options in keyword arguments and keyword only arguments are combined now).
- Infinitely nested subcommands.
- Tuple options (one of given enumerated values).
- A lot of fixes.
Most of changes were done by Oscar Benjamin.
- Fixed name in usage on Windows.
- Improved and documented preparsing of global options when using subcommands (GH-25).
- Now commands can have
- Better Windows compatibility (GH-18, GH-20).
- Refactored internal options representation with easier introspectability (GH-19).
- Tests support Python 3 (GH-21).
Thanks for this release are going to Oscar Benjamin, every point in this release is his work.
- Added command.Error to facilitate easy exits from scripts (GH-12).
- Fixed opster.t output.
- Fix for installation issue (MANIFEST.in wasn’t included).
- Fix for pep8.py complaints (most of them).
- Fix for script name when calling as a command (and not a dispatcher) (GH-4).
- Fix for some 2to3 issues (GH-5).
- Fixed bug with empty arguments for
- opster.t is now able to run under
- More output encodings supported (GH-7).
- Coverage support for cram tests (GH-8).
- Fixed combination of varargs and option name with underscore (GH-10).
- Multicommands: ability to specify global options before specifying name of command
- Better aliases support.
- Fixes for options and usage discovery.
- Fix for error handling of dictionary options in multicommands.
- Fix for help not working when global options are defined.
- Backward incompatible Single commands now don’t attempt to parse. arguments if you call them. Use
function.command()attribute (much like earlier
function.help()) to parse arguments now.
- Switch to Python 2.6.
- Ability to have few subcommand dispatchers in a single runtime (no single global
- fix help display in case middleware returns original function
- fix help display when there is no __doc__ declared for function
.help()attribute for every function, printing help on call
- fix option display for a list of subcommands if docstring starts with a blank line
- _completion was failing to work when global options were supplied to command dispatcher
- when middleware was used and command called without arguments, instead of help, traceback was displayed
- fixed exception handling (cleanup previous fix, actually)
- display only name of application, without full path
- fixed trouble with non-ascii characters in docstrings
- fixed exceptions handling
- autocompletion improvements (skips middleware, ability of options completion)
- 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 - 0.9.9 (since 2009.07.13)¶
Ancient history ;-)