CLI
The CLI package provides PHP classes and utilities for managing blocks and extensions in the monorepo.
Last modified: June 2, 2025
PHP Utilities
class-blocks.php
Provides utilities for discovering, registering, and managing custom WordPress blocks.
Use this class to programmatically interact with block definitions and metadata.
class-extensions.php
Handles discovery and registration of extensions.
This class enables you to manage and integrate custom extensions into your WordPress environment.
cli.php
Bootstraps CLI commands for PHP-side operations.
This file is the entry point for any PHP CLI integrations and command registration.
utils.php
Contains shared helper functions used by other classes in the CLI package.
These utilities support common tasks such as file handling, configuration parsing, and more.