diff --git a/ee/cli/main.py b/ee/cli/main.py index 6aafc422..36ea4ff8 100644 --- a/ee/cli/main.py +++ b/ee/cli/main.py @@ -64,6 +64,7 @@ class EEApp(foundation.CementApp): argument_handler = EEArgHandler + define_hooks = ['stack_install_hook', 'stack_remove_hook'] debug = TOGGLE_DEBUG diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 05778e5b..f4066638 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -49,7 +49,6 @@ class EEStackController(CementBaseController): stacked_on = 'base' stacked_type = 'nested' description = 'Stack command manages stack operations' - define_hooks = ['stack_install_hook', 'stack_remove_hook'] arguments = [ (['--all'], dict(help='Install all stack', action='store_true')),