summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-10-18 15:52:36 (GMT)
committerJon Pugh2017-10-18 15:52:36 (GMT)
commita05a17c3e0bdd422f5a7bd0b8bbca4ee6e1aa7f6 (patch)
tree28800ce38e8b7b685e87208a8c034874dfa95b14
parent2b81cccdded9ad0edac1beca1da1e4d40dd92102 (diff)
Show all service properties in the status command.
-rw-r--r--src/Context/ServerContext.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Context/ServerContext.php b/src/Context/ServerContext.php
index cc2ec0b..5a59e50 100644
--- a/src/Context/ServerContext.php
+++ b/src/Context/ServerContext.php
@@ -203,6 +203,11 @@ class ServerContext extends Context implements ConfigurationInterface
$rows = [];
foreach ($this->getServices() as $name => $service) {
$rows[] = [$name, $service['type']];
+
+ // Show all properties.
+ foreach ($service['properties'] as $name => $value) {
+ $rows[] = [' ' . $name, $value];
+ }
}
$io->table(['Services'], $rows);
}