fi
# Pass in the path to php so that wp-cli knows which one
-# to use if it re-launches itself to run subcommands
+# to use if it re-launches itself to run other commands.
export WP_CLI_PHP_USED="$php"
exec "$php" $WP_CLI_PHP_ARGS "$SCRIPT_PATH" "$@"
wp-cli.yml
"""
- Scenario: Disabled subcommands
+ Scenario: Disabled commands
Given an empty directory
And a config.yml file:
"""
}
function get_synopsis() {
- return '<subcommand>';
+ return '<command>';
}
function invoke( $args, $assoc_args ) {
}
\WP_CLI::line();
- \WP_CLI::line( "See 'wp help $this->name <subcommand>' for more information on a specific subcommand." );
+ \WP_CLI::line( "See 'wp help $this->name <command>' for more information on a specific command." );
}
function find_subcommand( &$args ) {
{{desc}}
{{/parameters}}
-Run 'wp help <subcommand>' to get more information on a specific command.
+Run 'wp help <command>' to get more information on a specific command.