diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-03 22:52:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 22:52:50 -0400 |
commit | e7bf6c193e7adb55986af730eb5bbd9facb182f7 (patch) | |
tree | 96e4fa1ac5cb57696aef2a0b454e0265dc5825c3 /CHANGELOG.md | |
parent | 36b0b75265942fe375545beb7d2d8a2c5f6f63c4 (diff) | |
parent | 85ad31905780b19d2c16965110eda7577c057708 (diff) | |
download | cmd2-git-e7bf6c193e7adb55986af730eb5bbd9facb182f7.tar.gz |
Merge pull request #990 from python-cmd2/on_registered
Added callbacks to CommandSet
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c65bb8a..fe9c1ca6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 1.3.9 (September 03, 2020) +* Breaking Changes + * `CommandSet.on_unregister()` is now called as first step in unregistering a `CommandSet` and not + the last. `CommandSet.on_unregistered()` is now the last step. +* Enhancements + * Added `CommandSet.on_registered()`. This is called by `cmd2.Cmd` after a `CommandSet` is registered + and all its commands have been added to the CLI. + * Added `CommandSet.on_unregistered()`. This is called by `cmd2.Cmd` after a `CommandSet` is unregistered + and all its commands have been removed from the CLI. + ## 1.3.8 (August 28, 2020) * Bug Fixes * Fixed issue where subcommand added with `@as_subcommand_to` decorator did not display help |