All commands · internal

pm package init

Generate a starter package scaffold with package metadata, manifest, and entrypoint.

Generates an installable starter pm package with package metadata and a root extension entrypoint.

Usage

pm package 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
--declarativeScaffold the composeExtension blueprint starter (any capability)optional
--projectUse project package scope (default)optional
--globalUse global package scopeoptional

Examples

pm package init ./my-package

Related commands