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

Function createDevice

src/commands/virtualdevices/create.ts:162–163  ·  view source on GitHub ↗
(_: void, data: VirtualDeviceCreateRequest)

Source from the content-addressed store, hash-verified

160 const command = await apiOrganizationCommand(argv)
161
162 const createDevice = async (_: void, data: VirtualDeviceCreateRequest): Promise<Device> =>
163 command.client.virtualDevices.create(mergeCreateFlagValues(argv, data))
164
165 await inputAndOutputItem(
166 command,

Callers

nothing calls this directly

Calls 1

mergeCreateFlagValuesFunction · 0.70

Tested by

no test coverage detected