introduce wildcards for <instance>
This commit is contained in:
13
seaman.py
13
seaman.py
@ -52,15 +52,16 @@ class SeaManager(ServiceManager):
|
||||
Usage:
|
||||
|
||||
sea gui <instance>
|
||||
sea <instance> # the same as sea gui <instance>
|
||||
sea cli <instance> # the same as old seacmd
|
||||
sea start <instance> [<service>] # the same as old 'monit start sea'
|
||||
sea restart <instance> [<service>]
|
||||
sea stop <instance> [<service>]
|
||||
sea list [<instance>]
|
||||
sea <instance> # the same as sea gui <instance>
|
||||
sea cli <instance> # the same as old seacmd
|
||||
sea start <instance> [<service>] * # the same as old 'monit start sea'
|
||||
sea restart <instance> [<service>] *
|
||||
sea stop <instance> [<service>] *
|
||||
sea list [<instance>] *
|
||||
|
||||
<service> is one of sea, graph
|
||||
%s
|
||||
* wildcards allowed, using '.' to replace 0 or more arbitrary characters in <instance>
|
||||
"""
|
||||
|
||||
def do_cli(self, ins):
|
||||
|
Reference in New Issue
Block a user