(yargs: Argv)
| 20 | const describe = 'delete a device profile' |
| 21 | |
| 22 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 23 | apiOrganizationCommandBuilder(yargs) |
| 24 | .positional('id', { describe: 'device profile id', type: 'string' }) |
| 25 | .example([ |
| 26 | ['$0 deviceprofiles:delete', 'prompt for a device profile and delete it'], |
| 27 | [ |
| 28 | '$0 deviceprofiles:delete 63b8c91e-9686-4c43-9afb-fbd9f77e3bb0', |
| 29 | 'delete the device profile with the specified id', |
| 30 | ], |
| 31 | ]) |
| 32 | .epilog(buildEpilog({ command, apiDocs: 'deleteDeviceProfile' })) |
| 33 | |
| 34 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 35 | const command = await apiOrganizationCommand(argv) |
nothing calls this directly
no test coverage detected