Commits

Author Commit Message Labels Comments Date
Mika Eloranta
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.
Mika Eloranta
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.
Andy Mikhailenko
Bumping version.
Andy Mikhailenko
Added decorators @alias and @generator. No tests for them yet.
Andy Mikhailenko
Removed option "print_result" from function dispatch(). Fixed bug in type inferring, added regression test.
Andy Mikhailenko
Added _version module. The problem is that both Sphinx and setup.py must know the version so we should store it in a third place; the most natural place would be argh.__version__ but if setup.py imports it, the coverage gets screwed up. So we put the version to an external module. Unfortunately this means that the (installed) package itself will not know it version.
Andy Mikhailenko
Fixed typo.
Andy Mikhailenko
Added guessing of argument type by choices. Improved documentation everywhere.
Andy Mikhailenko
Improved documentation.
Andy Mikhailenko
Added better inferring rules in the arg() decorator.
Andy Mikhailenko
Whoops, the distribution did not contain the module itself.
  1. Prev
  2. Next