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

Function apiDocsURL

src/lib/help.ts:10–11  ·  view source on GitHub ↗
(names: string | string[])

Source from the content-addressed store, hash-verified

8 : `https://developer.smartthings.com/docs/api/public/#operation/${nameOrURL}`
9
10export const apiDocsURL = (names: string | string[]): string => 'For API information, see:\n ' +
11 (typeof names === 'string' ? [names] : names).map(name => toURL(name)).join('\n ')
12
13export const itemInputHelpText = (...namesOrURLs: string[]): string =>
14 'More information can be found at:\n ' + namesOrURLs.map(nameOrURL => toURL(nameOrURL)).join('\n ')

Callers 2

buildEpilogFunction · 0.85
help.test.tsFile · 0.85

Calls 1

toURLFunction · 0.85

Tested by

no test coverage detected