-
Notifications
You must be signed in to change notification settings - Fork 0
CommandProjectNew
rogertm edited this page Jun 20, 2025
·
2 revisions
Crea un nuevo "child plugin" que hereda todas las funcionalidades de WASP.
project:new [options] [--] <name>-
nameNombre del nuevo plugin (ej: "Wasp Child")
-
--dry-runSi se especifica, solo simula la creación sin escribir archivos. -
-h, --helpMuestra la ayuda para este comando.
php cli/wasp project:new "WASP Child"Crea un nuevo plugin que hereda todas las funcionalidades de WASP, el nuevo plugin tiene la estructura de directorios requeridos y compatibles con WASP.
wasp-child/
├── wasp-child.php
├── autoloader.php
├── classes/
│ ├── admin-page/
│ ├── meta-box/
│ ├── post-type/
│ ├── setting-fields/
│ ├── taxonomy/
│ ├── term-meta/
│ └── user-meta/
└── inc/
├── classes.php
└── index.php