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

Function getDriver

src/commands/edge/drivers.ts:81–84  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

79 }
80
81 const getDriver = (id: string): Promise<EdgeDriver> =>
82 argv.driverVersion
83 ? command.client.drivers.getRevision(id, argv.driverVersion)
84 : command.client.drivers.get(id)
85
86 await outputItemOrList<EdgeDriver & WithOrganization>(command, config, argv.idOrIndex,
87 () => listDrivers(command.client, argv.allOrganizations),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected