Registry / cli / wp-cli-scaffold-command

wp-cli-scaffold-command

JSON →
library2.5.7phppackagistunverified

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.

composer require wp-cli/scaffold-command
INSTALL
IMPORT
SIG · WP-CLI-SCAFFOLD-CO
W
wp-cli-scaffold-command
cliphpv2.5.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ScaffoldCommand
use WP_CLI\Commands\ScaffoldCommand;

Scaffold a custom post type.

use WP_CLI\Commands\ScaffoldCommand; $command = new ScaffoldCommand(); $command->generate('post-type', ['label' => 'Book']);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
28
OpenAI (training)
1
Resources
wp-cli-scaffold-command — pip install wp-cli-scaffold-command · libregistry