Source

argh / argh / assembling.py

Author Commit Message Labels Comments Date
Andy Mikhailenko
Allow merging argument specs via `dest`
Andy Mikhailenko
Re #29: add support for varkw.
Andy Mikhailenko
Re #29: add support for varargs.
Andy Mikhailenko
Re issue #29: implement new-style API, deprecate old functions, add compat fixes
Andy Mikhailenko
Drop Arg in favour of plain dict to store add_argument (kw)args.
Andy Mikhailenko
Add proper unit tests for set_default_command() and type/action guessing.
Andy Mikhailenko
Make assembling-related error messages more readable.
Andy Mikhailenko
Fix issue #27: move type/action guessing logic from decorators.arg() to assembling._guess() so that decorators.command() could profit of it, too.
Andy Mikhailenko
Fix issue #22: more informative error message when parser.add_argument() fails.
Andy Mikhailenko
Fix issue #12: option `-h` is silently ignored if the parser automatically adds -h/--help.
Andy Mikhailenko
Improve docs.
Andy Mikhailenko
Fix issue #20: add merging of declared arguments into inferred ones.
Andy Mikhailenko
Fix headings in docstrings to avoid false merge conflict detection by certain merge tools.
Andy Mikhailenko
Fix bug introduced while merging.
Andy Mikhailenko
Merged
Andy Mikhailenko
Re issue #20: Move argument introspection from argh.decorators to argh.assembling, trigger it by command(), deprecate plain_signature().
Andy Mikhailenko
Fix issue #7: add support for multiple aliases per command. This deprecates decorator @alias while introducing @aliases and @named instead. Depends on argparse version.
Andy Mikhailenko
Re issue #24: updated documentation to match the refactored state of code.
Andy Mikhailenko
Fix issue #23: refactoring.