Todos los comandos · internal
pm extension init
Generate a starter extension scaffold with manifest and entrypoint.
Generates an installable starter runtime extension with manifest and entrypoint files.
Uso
pm extension init [options] <target>Argumentos
| <target> | Scaffold target directory path | obligatorio |
|---|
Opciones
| --capability <kind> | Capability the starter targets (commands|hooks|search|importers|schema|profile|renderers|parser|preflight|services; default commands) | opcional |
|---|---|---|
| --project | Use project extension scope (default) | opcional |
| --global | Use global extension scope | opcional |
Ejemplos
pm package init ./my-extension