Skip to content
Corex

CliServiceProvider

Corex\Cli\CliServiceProvider · class · CLI layer

Registers the generator subsystem and, only when WP-CLI is present, the wp corex make:* commands (spec FR-012, FR-014; Principle IX).

Hands every command to WP-CLI. Public so it can be hooked; it runs on cli_init.