Skip to content

craft-hub / CommandInputOption

Interface: CommandInputOption

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

One allowed value for a select command input.

Properties

arguments?

optional arguments?: string[]

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

Exact structured argv contributed by this option instead of flag/value formatting.


label?

optional label?: string

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


omitArgument?

optional omitArgument?: boolean

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

Whether selecting this option intentionally omits the input's command-line argument.


value

value: string

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

Released under the MIT License.