'description' => 'Show all status details'
)
);
+$stCmd = $parser->addCommand(
+ 'authstatus',
+ array(
+ 'description' => 'Show the connection status the old way (authenticated)'
+ )
+);
$parser->addCommand(
$arStatus = $router->getFullStatus();
} else if ($result->command_name == 'card') {
$arStatus = $router->getCardStatus();
+ } else if ($result->command_name == 'authstatus') {
+ $arStatus = $router->getConnectionStatusAuth();
} else {
$arStatus = $router->getConnectionStatus();
}
+
foreach ($arStatus as $key => $value) {
echo $key . ': ';
if (is_array($value)) {