Commits

Author Commit Message Labels Comments Date
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.
Andy Mikhailenko
Okay, now 100% covered with tests. Of course there could be more tests but the library is just a thin wrapper around argparse which has lots of tests.
Andy Mikhailenko
Added tests (97% coverage), argh now passes them all.
Andy Mikhailenko
Added some meat. Now it generally works but is buggy as hell. Tests and debugging should follow.
Andy Mikhailenko
Added initial documentation draft. The real code in not here yet.
  1. Prev
  2. Next