(yargs: Argv)
| 19 | const describe = 'delete a capability' |
| 20 | |
| 21 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 22 | capabilityIdBuilder(apiOrganizationCommandBuilder(yargs)) |
| 23 | .example([ |
| 24 | ['$0 capabilities:delete', 'prompt for a capability and delete it'], |
| 25 | [ |
| 26 | '$0 capabilities:delete cathappy12345.myCapability', |
| 27 | 'delete the capability with the specified id', |
| 28 | ], |
| 29 | ]) |
| 30 | .epilog(buildEpilog({ command, apiDocs: 'deleteCapability' })) |
| 31 | |
| 32 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 33 | const command = await apiOrganizationCommand(argv) |
nothing calls this directly
no test coverage detected