enable services via cli
This commit is contained in:
@@ -63,6 +63,15 @@ class Service extends CLIAppBase {
|
||||
|
||||
return true;
|
||||
},"List all services");
|
||||
|
||||
registerSyncSubcommand("enable", (args) ->{
|
||||
if (args.length < 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ServiceManager.instance.enable(args[0]);
|
||||
return true;
|
||||
},"Enable a service");
|
||||
}
|
||||
|
||||
private function handleResult(res: Outcome<Noise,String>): Bool {
|
||||
|
||||
Reference in New Issue
Block a user