Commit c858fae1 authored by Jon Pugh's avatar Jon Pugh

Bail if not interactive.

parent 58ee255a
......@@ -389,6 +389,9 @@ class SaveCommand extends Command
protected function askForServiceSubscriptions() {
if (!$this->input->isInteractive()){
// Lookup servers.
$all_services = Context::getServiceOptions();
......@@ -414,6 +417,8 @@ class SaveCommand extends Command
if (!empty($this->input->getOption($option))) {
$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);
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