(yargs: Argv<T>)
| 7 | } |
| 8 | |
| 9 | export 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 | |
| 14 | export type AllOrganizationFlags = { |
| 15 | allOrganizations: boolean |