(data: AppCreationResponse)
| 66 | } |
| 67 | |
| 68 | const buildTableOutput = (data: AppCreationResponse): string => { |
| 69 | const basicInfo = command.tableGenerator.buildTableFromItem(data.app, tableFieldDefinitions) |
| 70 | |
| 71 | const oauthInfo = data.oauthClientId || data.oauthClientSecret |
| 72 | ? command.tableGenerator.buildTableFromItem(data, ['oauthClientId', 'oauthClientSecret']) |
| 73 | : undefined |
| 74 | return oauthInfo |
| 75 | ? `Basic App Data:\n${basicInfo}\n\n` + |
| 76 | 'OAuth Info (you will not be able to see the OAuth info again so please save' + |
| 77 | ` it now!):\n${oauthInfo}` |
| 78 | : basicInfo |
| 79 | } |
| 80 | |
| 81 | await inputAndOutputItem( |
| 82 | command, |
no outgoing calls
no test coverage detected