Skip to content

craft-hub / CommandInputOption

Interface: CommandInputOption ​

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

One allowed value for a select command input.

Properties ​

arguments? ​

optional arguments?: string[]

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

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


icon? ​

optional icon?: string

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

Host-rendered semantic icon name; unsupported names are ignored by clients.


label? ​

optional label?: string

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


omitArgument? ​

optional omitArgument?: boolean

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

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


value ​

value: string

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

Released under the MIT License.