Skip to content

craft-hub / CommandInvocation

Interface: CommandInvocation ​

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

Structured command invocation discovered from a project.

Extended by ​

Properties ​

args ​

args: string[]

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


command ​

command: string

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


cwd ​

cwd: string

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


label? ​

optional label?: string

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

Optional human-readable step label used when previewing a command sequence.


prerequisites? ​

optional prerequisites?: CommandPrerequisite[]

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

Ordered structured commands that must complete successfully before this command starts.


requiredEnv ​

requiredEnv: string[]

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

Released under the MIT License.