- Allow
argbind.load_args
to 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.environ
are 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.debug
to create a prettier and more readable output.
- Added
without_prefix
option 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_global
which has now been removed.
- Using
functools.wraps
in thebind
decorator. This decorates the function without changing its name.
bind_to_parser
renamed tobind
.bind_to_parser
still exists to maintain backwards compatibility.
- Stable release.
- Removing unused functionality.
- Fixing some minor bugs.
- Initial release.