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 pathrequired

Options

--capability <kind>Capability the starter targets (commands|hooks|search|importers|schema|profile|renderers|parser|preflight|services; default commands)optional
--projectUse project extension scope (default)optional
--globalUse global extension scopeoptional

Examples

pm package init ./my-extension

Related commands