Browse Source

Added hook for stack install and stack remove

feature/plugin
gau1991 10 years ago
parent
commit
a29eb4aa77
  1. 5
      ee/cli/plugins/stack.py

5
ee/cli/plugins/stack.py

@ -158,6 +158,9 @@ class EEStackController(CementBaseController):
if self.app.pargs.utils:
EEAdminStack(package_dict=EEVariables.ee_utils).install_stack()
# Hook for stack install plugin
hook.run('stack_install_hook', self.app)
@expose(help="Remove packages")
def remove(self):
@ -225,6 +228,8 @@ class EEStackController(CementBaseController):
if self.app.pargs.utils:
EEAdminStack(package_dict=EEVariables.ee_utils).remove_stack()
# Hook for stack remove plugins
hook.run('stack_install_hook', self.app)
@expose(help="Purge packages")

Loading…
Cancel
Save