widget-command/command.php

9 lines
295 B
PHP
Raw Permalink Normal View History

2016-07-25 07:36:55 -07:00
<?php
if ( class_exists( 'WP_CLI' ) ) {
2016-08-26 06:13:19 -07:00
require_once dirname( __FILE__ ) . '/inc/class-command.php';
require_once dirname( __FILE__ ) . '/inc/class-formatter.php';
require_once dirname( __FILE__ ) . '/inc/class-logger.php';
2016-08-26 06:13:19 -07:00
WP_CLI::add_command( 'profile', 'runcommand\Profile\Command' );
2016-07-25 07:36:55 -07:00
}