All commands · internal
pm extension init
Generate a starter extension scaffold with manifest and entrypoint.
Generates an installable starter runtime extension with manifest and entrypoint files.
Usage
pm extension init [options] <target>Arguments
| <target> | Scaffold target directory path | required |
|---|
Options
| --capability <kind> | Capability the starter targets (commands|hooks|search|importers|schema|profile|renderers|parser|preflight|services; default commands) | optional |
|---|---|---|
| --project | Use project extension scope (default) | optional |
| --global | Use global extension scope | optional |
Examples
pm package init ./my-extension