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

Function lambdaAuthBuilder

src/lib/command/common-flags.ts:9–12  ·  view source on GitHub ↗
(yargs: Argv<T>)

Source from the content-addressed store, hash-verified

7}
8
9export const lambdaAuthBuilder = <T extends object>(yargs: Argv<T>): Argv<T & LambdaAuthFlags> =>
10 yargs
11 .option('principal', { desc: 'use this principal instead of the default when authorizing lambda functions', type: 'string' })
12 .option('statement', { desc: 'use this statement id instead of the default when authorizing lambda functions', type: 'string' })
13
14export type AllOrganizationFlags = {
15 allOrganizations: boolean

Callers 7

builderFunction · 0.85
builderFunction · 0.85
builderFunction · 0.85
builderFunction · 0.85
builderFunction · 0.85
builderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected