Skip to content

craft-hub / CommandPrerequisite

Interface: CommandPrerequisite ​

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

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:398

Inherited from ​

CommandInvocation.args


command ​

command: string

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

Inherited from ​

CommandInvocation.command


cwd ​

cwd: string

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

Inherited from ​

CommandInvocation.cwd


label? ​

optional label?: string

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

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:402

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:400

Inherited from ​

CommandInvocation.requiredEnv


when? ​

optional when?: CommandInputConditions

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

Released under the MIT License.