Commit ead116af authored by Marco Mariani's avatar Marco Mariani

'node tail' alias

parent 2469f36b
...@@ -83,6 +83,7 @@ setup(name=name, ...@@ -83,6 +83,7 @@ setup(name=name,
'node start = slapos.cli.supervisorctl:SupervisorctlStartCommand', 'node start = slapos.cli.supervisorctl:SupervisorctlStartCommand',
'node stop = slapos.cli.supervisorctl:SupervisorctlStopCommand', 'node stop = slapos.cli.supervisorctl:SupervisorctlStopCommand',
'node restart = slapos.cli.supervisorctl:SupervisorctlRestartCommand', 'node restart = slapos.cli.supervisorctl:SupervisorctlRestartCommand',
'node tail = slapos.cli.supervisorctl:SupervisorctlTailCommand',
'console = slapos.cli.console:ConsoleCommand', 'console = slapos.cli.console:ConsoleCommand',
'supply = slapos.cli.supply:SupplyCommand', 'supply = slapos.cli.supply:SupplyCommand',
'remove = slapos.cli.remove:RemoveCommand', 'remove = slapos.cli.remove:RemoveCommand',
......
...@@ -55,3 +55,8 @@ class SupervisorctlStopCommand(SupervisorctlAliasCommand): ...@@ -55,3 +55,8 @@ class SupervisorctlStopCommand(SupervisorctlAliasCommand):
class SupervisorctlRestartCommand(SupervisorctlAliasCommand): class SupervisorctlRestartCommand(SupervisorctlAliasCommand):
"""alias for 'node supervisorctl restart'""" """alias for 'node supervisorctl restart'"""
alias = 'restart' alias = 'restart'
class SupervisorctlTailCommand(SupervisorctlAliasCommand):
"""alias for 'node supervisorctl tail'"""
alias = 'tail'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment