Skip to content

craft-hub / CommandPackage

Interface: CommandPackage

Defined in: packages/craft-hub/src/types.ts:229

Package boundary that declared one project command.

Properties

description?

optional description?: string

Defined in: packages/craft-hub/src/types.ts:233

Human-readable package summary declared in package.json, when present.


name?

optional name?: string

Defined in: packages/craft-hub/src/types.ts:231

Package name declared in package.json, when present.


relativePath

relativePath: string

Defined in: packages/craft-hub/src/types.ts:235

Project-relative package directory. The project root is represented by '.'.


root

root: boolean

Defined in: packages/craft-hub/src/types.ts:236

Released under the MIT License.