widget-command/command.php
2016-10-08 06:37:41 -07:00

9 lines
358 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';
require_once dirname( __FILE__ ) . '/inc/class-profiler.php';
WP_CLI::add_command( 'profile', 'runcommand\Profile\Command' );
}