Releases: microsoft/knack
Releases · microsoft/knack
0.4.1
Version 0.4.0 introduced deprecation to Knack. This release fixes a bug related to that.
- Ensures that the action kwarg is only set if the item is deprecated. Previously it would set it to "None" which would then override a pre-existing action like
store_true.
Version 0.4.0 also added the concept of the command group table to the CommandsLoader class. This release corrects an issue related to that:
- The command group table would only be filled by calls to create CommandGroup classes. This resulted in some gaps in the command group table.
0.4.0
- Add mechanism to deprecate commands, command groups, arguments and argument options.
- Improve help display support for Unicode.
Release 0.3.3
0.3.2
0.3.1
0.3.0
Change version to 0.3.0 (#52)
0.2.0
- Support command level and argument level validators.
- knack.commands.CLICommandsLoader now accepts a
command_clsargument so you can provide your ownCLICommandclass. - logging: make determine_verbose_level private method.
- Allow overriding of NAMED_ARGUMENTS
- Only pass valid argparse kwargs to argparse.ArgumentParser.add_argument and ignore the rest
- logging: make determine_verbose_level private method
- Remove
cli_command,register_cli_argument,register_extra_cli_argumentas ways to register commands and arguments.
0.1.1
- Add more types of command and argument loaders.
- Add tests.
0.1.0
Initial release.