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

Function stringInput

src/lib/user-query.ts:71–72  ·  view source on GitHub ↗
( message: string, options?: StringInputOptions )

Source from the content-addressed store, hash-verified

69 default?: DefaultValueOrFn<string | undefined>
70 }
71export const stringInput = async ( message: string, options?: StringInputOptions ): Promise<string> =>
72 internalStringInput(message, { ...options, required: true })
73
74export type IntegerInputOptions<T extends number | undefined> = {
75 default?: DefaultValueOrFn<T>

Callers 15

getInputFromUserFunction · 0.85
handlerFunction · 0.85
promptForAttributeNameFunction · 0.85
promptAndAddCommandFunction · 0.85
getInputFromUserFunction · 0.85
handlerFunction · 0.85
getInputFromUserFunction · 0.85
getInputFromUserFunction · 0.85
stringGetIdFromUserFunction · 0.85
getIdFromUserFunction · 0.85
getInputFromUserFunction · 0.85

Calls 1

internalStringInputFunction · 0.85

Tested by

no test coverage detected