Source

argh / argh / __init__.py

Author Commit Message Labels Comments Date
Andy Mikhailenko
Fix #21 again: py26 did not install argparse; distribute would break pypy. Remove the outdated manifest file. Avoid importing argh.__version__ at all.
Andy Mikhailenko
Fix #21: initial setup would fail in arghparse-less environments.
Andy Mikhailenko
Bump version
Tags
0.17.0
Andy Mikhailenko
Fixed #18: argh.__version__ instead of _version.py
Branches
18-version-attribute
Andy Mikhailenko
BACKWARDS-INCOMPATIBLE. Added support for Python 3.x. Dropped support for Python ≤ 2.5. Included Benjamin Peterson's library "six" to keep the code clean while Python 2.x/3.x-compatible. Updated documentation.
Andy Mikhailenko
Added decorator wrap_errors(). Improved error wrapping in dispatcher. Added license headers. Bumped version.
Andy Mikhailenko
Added support for Python 2.5 (this fixes issue #5).
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
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 guessing of argument type by choices. Improved documentation everywhere.
Andy Mikhailenko
Added better inferring rules in the arg() decorator.
Andy Mikhailenko
Whoops, the distribution did not contain the module itself.