Commits

Author Commit Message Labels Comments Date
Andy Mikhailenko
Removed stray print statement (re #12).
Andy Mikhailenko
Fixed #12: the @command decorator would break on 2+ arguments which names start with the same character.
Andy Mikhailenko
Fixed documentation.
Andy Mikhailenko
Fixed silly error in readme.
Andy Mikhailenko
Using rednose for testing.
Andy Mikhailenko
Fixed silly bug.
Andy Mikhailenko
Removed the previously deprecated argument "intercept" in the dispatch() helper. Replaced a "magic number" with a constant in the wrap_errors() decorator.
Andy Mikhailenko
Added decorator wrap_errors(). Improved error wrapping in dispatcher. Added license headers. Bumped version.
Andy Mikhailenko
Bumped version. Small fixes in the documentation.
mel
allow using custom namespace objects:
Andy Mikhailenko
Added dispatch argument `output_file` (issue #10), deprecated argument `intercept`. Added tests.
Andy Mikhailenko
Updated the docs a little bit. Bumped version.
mel
dispatch(): added 'raw_output' argument that disables whitespace/newline additions to output
Andy Mikhailenko
Fixed edge case: when no command is specified at all, just display usage info. (We should also somehow support usable command-less cases but I have no idea what they can be like.)
Andy Mikhailenko
Refactored.
Andy Mikhailenko
Improved documentation a little bit.
Andy Mikhailenko
Added patch by Mika Eloranta to subparser commands visible in the main level --help.
Andy Mikhailenko
Added bash completion for commands. Options are not yet supported. User needs to bind completion to certain script name (to be documented). Tests are provided (for internal API only).
Andy Mikhailenko
Fixed errors in documentation.
Andy Mikhailenko
Added @command decorator. Warning: no tests yet (though it just adds a thin layer upon those already tested).
Andy Mikhailenko
Added support for Python 2.5 (this fixes issue #5).
Andy Mikhailenko
Added a todo note.
Andy Mikhailenko
Improved documentation.
Andy Mikhailenko
Rearranged the code. Added test for @alias decorator. Removed the previously deprecated decorator @generator.
Andy Mikhailenko
Deprecated the @generator decorator because isinstance() is enough. Added tests for confirm() helper. Added documentation.
Andy Mikhailenko
Improved documentation.
Andy Mikhailenko
Added CommandError class (and its wrapping is dispatcher). Added confirm() helper.
Andy Mikhailenko
Added documentation for @generator decorator.
Andy Mikhailenko
Included recently added functions in __all__.
Andy Mikhailenko
BUGFIX: _version.py was not included in distribution so the package was broken.
  1. Prev
  2. Next