(argv: ArgumentsCamelCase<CommandArgs>)
| 34 | .epilog(buildEpilog({ command, apiDocs: ['getAppOauth'] })) |
| 35 | |
| 36 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 37 | const command = await apiCommand(argv) |
| 38 | |
| 39 | const id = await chooseApp(command, argv.idOrIndex, { allowIndex: true }) |
| 40 | await outputItem( |
| 41 | command, |
| 42 | { tableFieldDefinitions: oauthTableFieldDefinitions }, |
| 43 | () => command.client.apps.getOauth(id), |
| 44 | ) |
| 45 | } |
| 46 | |
| 47 | const cmd: CommandModule<object, CommandArgs> = { command, describe, builder, handler } |
| 48 | export default cmd |
nothing calls this directly
no test coverage detected