package-command/profile-command.php
Pascal Birchler bfb4ba48b1
Update WPCS to v3 (#183)
* Update `wp-cli/wp-cli-tests`

* Remove invalid config

* Fix all auto-fixable issues

* Need to make sure these are always floats

---------

Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
2023-09-01 06:33:09 -07:00

12 lines
271 B
PHP

<?php
if ( ! class_exists( 'WP_CLI' ) ) {
return;
}
$wpcli_profile_autoloader = __DIR__ . '/vendor/autoload.php';
if ( file_exists( $wpcli_profile_autoloader ) ) {
require_once $wpcli_profile_autoloader;
}
WP_CLI::add_command( 'profile', 'WP_CLI\Profile\Command' );