MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / buildFromUserInput

Function buildFromUserInput

src/lib/item-input/select.ts:83–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 const buildFromUserInput = (): Promise<T | CancelAction> => editValue(options?.default)
84
85 const summarizeForEdit = options?.summarizeForEdit
86 ?? ((value: T) => clipToMaximum((namesByValue.get(value)) ?? stringFromUnknown(value), maxItemValueLength))

Callers

nothing calls this directly

Calls 1

editValueFunction · 0.85

Tested by

no test coverage detected