craft-hub / CommandPackage
Interface: CommandPackage
Defined in: packages/craft-hub/src/types.ts:264
Package boundary that declared one project command.
Properties
description?
optionaldescription?:string
Defined in: packages/craft-hub/src/types.ts:268
Human-readable package summary declared in package.json, when present.
featured?
optionalfeatured?:boolean
Defined in: packages/craft-hub/src/types.ts:275
Whether the package should receive stronger visual emphasis in overviews.
hidden?
optionalhidden?:boolean
Defined in: packages/craft-hub/src/types.ts:277
Whether the package is omitted from overview grids while remaining discoverable.
links?
optionallinks?:CommandPackageLink[]
Defined in: packages/craft-hub/src/types.ts:283
Plugin-contributed HTTPS destinations resolved from bounded package metadata.
name?
optionalname?:string
Defined in: packages/craft-hub/src/types.ts:266
Package name declared in package.json, when present.
order?
optionalorder?:number
Defined in: packages/craft-hub/src/types.ts:273
Stable repository-owned ordering override for overview cards.
quickActions?
optionalquickActions?:string[]
Defined in: packages/craft-hub/src/types.ts:281
Source-qualified discovered capability selectors shown as overview actions.
readme?
optionalreadme?:string
Defined in: packages/craft-hub/src/types.ts:279
Configured project-relative README path, when the conventional file should not be used.
relativePath
relativePath:
string
Defined in: packages/craft-hub/src/types.ts:270
Project-relative package directory. The project root is represented by '.'.
root
root:
boolean
Defined in: packages/craft-hub/src/types.ts:271
toolGroups?
optionaltoolGroups?:CommandToolGroup[]
Defined in: packages/craft-hub/src/types.ts:285
Plugin-defined tool surfaces resolved for this package.