CLI_Command::cmd_dump PHP Метод

cmd_dump() публичный Метод

## EXAMPLES # Dump the list of installed commands. $ wp cli cmd-dump {"name":"wp","description":"Manage WordPress through the command-line.","longdesc":"\n\n## GLOBAL PARAMETERS\n\n --path=\n Path to the WordPress files.\n\n --ssh=\n Perform operation against a remote server over SSH.\n\n --url=\n Pretend request came from given URL. In multisite, this argument is how the target site is specified. \n\n --user=\n
public cmd_dump ( )
    public function cmd_dump()
    {
        echo json_encode(self::command_to_array(WP_CLI::get_root_command()));
    }