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

Function addOption

src/lib/item-input/defs.ts:111–111  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

109export const addAction = Symbol('add')
110export type AddAction = typeof addAction
111export const addOption = (name: string): Choice<AddAction> => ({ name: `Add ${name}.`, value: addAction })
112
113export const editAction = Symbol('edit')
114export type EditAction = typeof editAction

Callers 2

editListFunction · 0.85
defs.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected