(argv: ArgumentsCamelCase<CommandArgs>)
| 39 | })) |
| 40 | |
| 41 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 42 | await smartThingsCommand(argv) |
| 43 | |
| 44 | // arn is marked as required so will not be null here |
| 45 | // eslint-disable-next-line @typescript-eslint/no-non-null-assertion |
| 46 | const message = await addSchemaPermission(argv.arn!, argv.principal, argv.statement) |
| 47 | console.log(message) |
| 48 | } |
| 49 | |
| 50 | const cmd: CommandModule<object, CommandArgs> = { command, describe, builder, handler } |
| 51 | export default cmd |
nothing calls this directly
no test coverage detected