[![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli)
-wp-cli is a set of command-line tools for managing WordPress installations.
+WP-CLI is a set of command-line tools for managing WordPress installations.
Where can I get more info?
--------------------------
}
if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
- printf( "Error: wp-cli requires PHP %s or newer. You are running version %s.\n", '5.3.0', PHP_VERSION );
+ printf( "Error: WP-CLI requires PHP %s or newer. You are running version %s.\n", '5.3.0', PHP_VERSION );
die(-1);
}
}
/**
- * Add a command to the wp-cli list of commands
+ * Add a command to the WP-CLI list of commands
*
* @param string $name The name of the command that will be used in the cli
* @param string $class The command implementation
}
function version() {
- WP_CLI::line( 'wp-cli ' . WP_CLI_VERSION );
+ WP_CLI::line( 'WP-CLI ' . WP_CLI_VERSION );
}
function info() {
WP_CLI::line( "PHP binary:\t" . $php_bin );
WP_CLI::line( "PHP version:\t" . PHP_VERSION );
WP_CLI::line( "php.ini used:\t" . get_cfg_var( 'cfg_file_path' ) );
- WP_CLI::line( "wp-cli root:\t" . WP_CLI_ROOT );
- WP_CLI::line( "wp-cli config:\t" . WP_CLI::get_config_path() );
- WP_CLI::line( "wp-cli version:\t" . WP_CLI_VERSION );
+ WP_CLI::line( "WP-CLI root:\t" . WP_CLI_ROOT );
+ WP_CLI::line( "WP-CLI config:\t" . WP_CLI::get_config_path() );
+ WP_CLI::line( "WP-CLI version:\t" . WP_CLI_VERSION );
}
/**