2023-01-18 16:40:00 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Registers the CLI functionality.
|
|
|
|
*
|
|
|
|
* @package automattic/jetpack-waf
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Automattic\Jetpack\Waf;
|
|
|
|
|
|
|
|
if ( defined( 'WP_CLI' ) && \WP_CLI ) {
|
2024-06-27 12:10:57 +00:00
|
|
|
// @phan-suppress-next-line PhanUndeclaredFunctionInCallable -- https://github.com/phan/phan/issues/4763
|
2023-01-18 16:40:00 +00:00
|
|
|
\WP_CLI::add_command( 'jetpack-waf', CLI::class );
|
|
|
|
}
|