示例#1
0
        function cmd_help() {
                $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' => '',
                            'sub_commands' => array()
                        );
                }

                $this->Shell->outCommandDescriptions();
        }