craft-hub / CommandPrerequisite
Interface: CommandPrerequisite
Defined in: packages/craft-hub/src/types.ts:406
One structured prerequisite that can be enabled by effective form input values.
Extends
Properties
args
args:
string[]
Defined in: packages/craft-hub/src/types.ts:396
Inherited from
command
command:
string
Defined in: packages/craft-hub/src/types.ts:395
Inherited from
cwd
cwd:
string
Defined in: packages/craft-hub/src/types.ts:397
Inherited from
label?
optionallabel?:string
Defined in: packages/craft-hub/src/types.ts:402
Optional human-readable step label used when previewing a command sequence.
Inherited from
prerequisites?
optionalprerequisites?:CommandPrerequisite[]
Defined in: packages/craft-hub/src/types.ts:400
Ordered structured commands that must complete successfully before this command starts.
Inherited from
CommandInvocation.prerequisites
requiredEnv
requiredEnv:
string[]
Defined in: packages/craft-hub/src/types.ts:398
Inherited from
when?
optionalwhen?:CommandInputConditions
Defined in: packages/craft-hub/src/types.ts:407