diff --git a/src/Commands/StartCommand.php b/src/Commands/StartCommand.php index 8dfab80..c0b4be7 100644 --- a/src/Commands/StartCommand.php +++ b/src/Commands/StartCommand.php @@ -43,11 +43,11 @@ class StartCommand extends Command $info = $containerManager->startService($serviceInfo, $options); - $output->writeln("Started {$serviceName}[{$instanceName}]"); + $output->writeln("Started {$serviceName}[{$instanceName}]"); foreach ($info['ports'] as $info=>$port) { $output->writeln(" {$info}: {$port}"); } return self::SUCCESS; } -} \ No newline at end of file +} diff --git a/src/Commands/StatusCommand.php b/src/Commands/StatusCommand.php index c9426b5..961293b 100644 --- a/src/Commands/StatusCommand.php +++ b/src/Commands/StatusCommand.php @@ -34,7 +34,7 @@ class StatusCommand extends Command $table = new Table($output); $table->setStyle('compact'); - $table->setHeaders([ "Service", "Instance", "Purpose", "Port" ]); + $table->setHeaders([ "Service", "Instance", "Port", "" ]); $running = $containerManager->getRunningServices(); $s = 0; @@ -42,7 +42,7 @@ class StatusCommand extends Command $s++; $i = 0; foreach ($service['ports'] as $portInfo=>$portNumber) { - $table->addRow([ ($i==0)?$service['service']['name']:"", ($i==0)?$service['instance']:"", $portInfo, $portNumber ]); + $table->addRow([ "".(($i==0)?$service['service']['name']:"")."", "".(($i==0)?$service['instance']:"")."", "".$portNumber."", $portInfo ]); $i++; } } @@ -51,4 +51,4 @@ class StatusCommand extends Command return self::SUCCESS; } -} \ No newline at end of file +}