(_: void, data: AppCreateRequest)
| 59 | const command = await apiCommand(argv) |
| 60 | |
| 61 | const createApp = async (_: void, data: AppCreateRequest): Promise<AppCreationResponse> => { |
| 62 | if (argv.authorize) { |
| 63 | await authorizeApp(data, argv.principal, argv.statement) |
| 64 | } |
| 65 | return command.client.apps.create(data) |
| 66 | } |
| 67 | |
| 68 | const buildTableOutput = (data: AppCreationResponse): string => { |
| 69 | const basicInfo = command.tableGenerator.buildTableFromItem(data.app, tableFieldDefinitions) |
no test coverage detected