- Allow
argbind.load_argsto take in an already open filestream.
- Better way of binding classes.
- Using
__qualname__instead of__name__to identify functions more reliably. - Classes are bound by replacing their
__init__function with an argbound version. - Binding
__init__functions uses as the prefix the name of the class, rather than__init__.
- Fixed a bug in resolving variables in lists, introduced in v0.1.8.
- Positional arguments can now be bound with
positional=True. ArgBind should now be able to build programs with identical APIs to ArgParse, with less code and added support for .yaml files!
- Environment variables can now be referenced within YAML files. All variables that are in
os.environare used to resolve any values that start with$in a YAML file. - Variables now resolve not only for strings but also within lists of strings.
- Updated the behavior of
args.debugto create a prettier and more readable output.
- Added
without_prefixoption tobind, which exposes the keyword arguments without the function name as the prefix, ifwithout_prefix=True. There was an unused version of this in its place calledno_globalwhich has now been removed.
- Using
functools.wrapsin thebinddecorator. This decorates the function without changing its name.
bind_to_parserrenamed tobind.bind_to_parserstill exists to maintain backwards compatibility.
- Stable release.
- Removing unused functionality.
- Fixing some minor bugs.
- Initial release.