(argv: ArgumentsCamelCase<CommandArgs>)
| 37 | .epilog(buildEpilog({ command })) |
| 38 | |
| 39 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 40 | const command = await apiCommand(argv) |
| 41 | |
| 42 | const id = await chooseSchemaInvitationFn(argv.schemaApp)(command, argv.id) |
| 43 | await command.client.invitesSchema.revoke(id) |
| 44 | console.log(`Invitation ${id} deletion requested. (This may take a few moments to complete.)`) |
| 45 | } |
| 46 | |
| 47 | const cmd: CommandModule<object, CommandArgs> = { command, describe, builder, handler } |
| 48 | export default cmd |
nothing calls this directly
no test coverage detected