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

Function baseURLValue

src/commands/config.ts:67–68  ·  view source on GitHub ↗
(item: ProfileWithName)

Source from the content-addressed store, hash-verified

65 }
66
67 const baseURLValue = (item: ProfileWithName): string | undefined =>
68 (item.profile?.clientIdProvider as undefined | Record<string, string>)?.baseURL
69 const getConfig = async (name: string): Promise<ProfileWithName> => {
70 const config = command.cliConfig.mergedProfiles
71 return { name, profile: config[name] }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected