PHP Classes

File: vendor/wp-cli/wp-cli/php/commands/cli.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/wp-cli/wp-cli/php/commands/cli.php   Download  
File: vendor/wp-cli/wp-cli/php/commands/cli.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 19 days ago
Size: 468 bytes
 

Contents

Class file image Download
<?php

if ( ! class_exists( 'CLI_Command' ) ) {
    require_once
__DIR__ . '/src/CLI_Command.php';
}

if ( !
class_exists( 'CLI_Cache_Command' ) ) {
    require_once
__DIR__ . '/src/CLI_Cache_Command.php';
}

if ( !
class_exists( 'CLI_Alias_Command' ) ) {
    require_once
__DIR__ . '/src/CLI_Alias_Command.php';
}

WP_CLI::add_command( 'cli', 'CLI_Command' );

WP_CLI::add_command( 'cli cache', 'CLI_Cache_Command' );

WP_CLI::add_command( 'cli alias', 'CLI_Alias_Command' );