mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-18 06:11:20 +08:00
8 lines
295 B
PHP
8 lines
295 B
PHP
<?php
|
|
|
|
if ( class_exists( 'WP_CLI' ) ) {
|
|
require_once dirname( __FILE__ ) . '/inc/class-command.php';
|
|
require_once dirname( __FILE__ ) . '/inc/class-formatter.php';
|
|
require_once dirname( __FILE__ ) . '/inc/class-logger.php';
|
|
WP_CLI::add_command( 'profile', 'runcommand\Profile\Command' );
|
|
}
|