We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c450c51 + e6300fd commit 9c7383aCopy full SHA for 9c7383a
ai-command.php
@@ -15,7 +15,7 @@
15
require_once $ai_command_autoloader;
16
}
17
18
-WP_CLI::add_command( 'ai', function ( $args, $assoc_args ) {
+WP_CLI::add_command( 'ai', static function ( $args, $assoc_args ) {
19
$server = new MCP\Server();
20
$client = new MCP\Client($server);
21
src/Entity/Tool.php
@@ -4,6 +4,8 @@
4
5
namespace WP_CLI\AiCommand\Entity;
6
7
+use InvalidArgumentException;
8
+
9
final class Tool
10
{
11
0 commit comments