Skip to content

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 ​

CommandInvocation.args


command ​

command: string

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

Inherited from ​

CommandInvocation.command


cwd ​

cwd: string

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

Inherited from ​

CommandInvocation.cwd


label? ​

optional label?: string

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

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

Inherited from ​

CommandInvocation.label


prerequisites? ​

optional prerequisites?: 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 ​

CommandInvocation.requiredEnv


when? ​

optional when?: CommandInputConditions

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

Released under the MIT License.