From ddd711e5e885af1169abe768bd91495835bd6d5a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 24 Jan 2017 11:09:37 +0100 Subject: [PATCH] EndpointCommand: add rough status action --- application/clicommands/EndpointCommand.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/clicommands/EndpointCommand.php b/application/clicommands/EndpointCommand.php index d899ee4f..f61f4fcc 100644 --- a/application/clicommands/EndpointCommand.php +++ b/application/clicommands/EndpointCommand.php @@ -12,4 +12,8 @@ use Icinga\Module\Director\Cli\ObjectCommand; */ class EndpointCommand extends ObjectCommand { + public function statusAction() + { + print_r($this->api()->getStatus()); + } }