Skip to content

craft-hub / commandInputs

Function: commandInputs()

commandInputs(config, locale): CommandInputDefinition[]

Defined in: packages/craft-hub/src/discovery.ts:70

Convert validated Project command-input configuration into runtime definitions.

Parameters

config

Record<string, ProjectCommandInputConfig>

locale

string

Returns

CommandInputDefinition[]

Released under the MIT License.