Prettier output from start and status commands
This commit is contained in:
1 parent
1572c120f5
commit
72c2f36434
2 files changed
+5
-5
No files matched your search
@@ -43,11 +43,11 @@ class StartCommand extends Command
|
||||
|
||||
$info = $containerManager->startService($serviceInfo, $options);
|
||||
|
||||
$output->writeln("Started <fg=cyan>{$serviceName}</>[<fg=cyan>{$instanceName}</>]");
|
||||
$output->writeln("Started <fg=cyan;options=bold>{$serviceName}</>[<fg=cyan>{$instanceName}</>]");
|
||||
foreach ($info['ports'] as $info=>$port) {
|
||||
$output->writeln(" <info>{$info}</>: <comment>{$port}</comment>");
|
||||
}
|
||||
|
||||
return self::SUCCESS;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user