Author Commit Message Labels Comments Date
Default avatar Mika Eloranta
allow using custom namespace objects:
Andy Mikhailenko avatarAndy Mikhailenko
Added dispatch argument `output_file` (issue #10), deprecated argument `intercept`. Added tests.
Andy Mikhailenko avatarAndy Mikhailenko
Updated the docs a little bit. Bumped version.
Default avatar Mika Eloranta
dispatch(): added 'raw_output' argument that disables whitespace/newline additions to output
Andy Mikhailenko avatarAndy 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 avatarAndy Mikhailenko
Refactored.
Andy Mikhailenko avatarAndy Mikhailenko
Improved documentation a little bit.
Andy Mikhailenko avatarAndy Mikhailenko
Added patch by Mika Eloranta to subparser commands visible in the main level --help.
Andy Mikhailenko avatarAndy 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 avatarAndy Mikhailenko
Fixed errors in documentation.
Andy Mikhailenko avatarAndy Mikhailenko
Added @command decorator. Warning: no tests yet (though it just adds a thin layer upon those already tested).
Andy Mikhailenko avatarAndy Mikhailenko
Added support for Python 2.5 (this fixes issue #5).
Andy Mikhailenko avatarAndy Mikhailenko
Added a todo note.
Andy Mikhailenko avatarAndy Mikhailenko
Improved documentation.
Andy Mikhailenko avatarAndy Mikhailenko
Rearranged the code. Added test for @alias decorator. Removed the previously deprecated decorator @generator.
Andy Mikhailenko avatarAndy Mikhailenko
Deprecated the @generator decorator because isinstance() is enough. Added tests for confirm() helper. Added documentation.
Andy Mikhailenko avatarAndy Mikhailenko
Improved documentation.
Andy Mikhailenko avatarAndy Mikhailenko
Added CommandError class (and its wrapping is dispatcher). Added confirm() helper.
Andy Mikhailenko avatarAndy Mikhailenko
Added documentation for @generator decorator.
Andy Mikhailenko avatarAndy Mikhailenko
Included recently added functions in __all__.
Andy Mikhailenko avatarAndy Mikhailenko
BUGFIX: _version.py was not included in distribution so the package was broken.
Andy Mikhailenko avatarAndy Mikhailenko
Bumping version.
Andy Mikhailenko avatarAndy Mikhailenko
Added decorators @alias and @generator. No tests for them yet.
Andy Mikhailenko avatarAndy Mikhailenko
Removed option "print_result" from function dispatch(). Fixed bug in type inferring, added regression test.
Andy Mikhailenko avatarAndy 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 avatarAndy Mikhailenko
Fixed typo.
Andy Mikhailenko avatarAndy Mikhailenko
Added guessing of argument type by choices. Improved documentation everywhere.
Andy Mikhailenko avatarAndy Mikhailenko
Improved documentation.
Andy Mikhailenko avatarAndy Mikhailenko
Added better inferring rules in the arg() decorator.
Andy Mikhailenko avatarAndy Mikhailenko
Whoops, the distribution did not contain the module itself.
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.