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

Function booleanInput

src/lib/user-query.ts:215–216  ·  view source on GitHub ↗
(message: string, options?: BooleanInputOptions)

Source from the content-addressed store, hash-verified

213}
214
215export const booleanInput = async (message: string, options?: BooleanInputOptions): Promise<boolean> =>
216 confirm({ message, default: options?.default ?? true })

Callers 12

getInputFromUserFunction · 0.85
promptAndAddSetterFunction · 0.85
promptAndAddCommandFunction · 0.85
handlerFunction · 0.85
handlerFunction · 0.85
writeDeviceEventsTableFunction · 0.85
checkServerIdentityFunction · 0.85
buildFromUserInputFunction · 0.85
updateFromUserInputFunction · 0.85
previewFunction · 0.85
user-query.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected