public function cmd_exit() { $args = func_get_args(); $this->Out->debug(__METHOD__,$args); // Define the meta for this command if(isset($args[0]) && $args[0] == '__meta') { return array( 'command' => str_replace('cmd_','',__FUNCTION__), 'description' => 'Exit the '.CloudCli::SHELL_NAME, 'sub_commands' => array() ); } $this->Shell->outExitCli(true); }