(argv: ArgumentsCamelCase<CommandArgs>)
| 32 | .epilog(buildEpilog({ command, apiDocs: 'deleteDeviceProfile' })) |
| 33 | |
| 34 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 35 | const command = await apiOrganizationCommand(argv) |
| 36 | |
| 37 | const id = await chooseDeviceProfile(command, argv.id) |
| 38 | await command.client.deviceProfiles.delete(id) |
| 39 | console.log(`Device profile ${id} deleted.`) |
| 40 | } |
| 41 | |
| 42 | const cmd: CommandModule<object, CommandArgs> = { command, describe, builder, handler } |
| 43 | export default cmd |
nothing calls this directly
no test coverage detected