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

Function summarizeForEdit

src/lib/item-input/misc.ts:53–53  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

51 validate: validateWithContextFn(options?.validate, context),
52 })
53 const summarizeForEdit = (value: string): string => value
54 const updateFromUserInput = (original: string, context?: unknown[]): Promise<string | undefined> =>
55 optionalStringInput(`${name} (optional)`,
56 { ...options, default: original, validate: validateWithContextFn(options?.validate, context) })

Callers 1

updateFromUserInputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected