Skip to content
Snippets Groups Projects
Commit c858fae1 authored by Jon Pugh's avatar Jon Pugh
Browse files

Bail if not interactive.

parent 58ee255a
Branches
No related tags found
No related merge requests found
......@@ -389,6 +389,9 @@ class SaveCommand extends Command
}
protected function askForServiceSubscriptions() {
if (!$this->input->isInteractive()){
return;
}
// Lookup servers.
$all_services = Context::getServiceOptions();
......@@ -415,6 +418,8 @@ class SaveCommand extends Command
$arguments['server'] = $this->input->getOption($option);
}
// If server_http is not specified, but it exists in the platform use that.
// Pass all options for this service to the services command.
$service_class = Service::getClassName($type);
$options_method = $this->input->getOption('context_type') . "_options";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment