(yargs: Argv)
| 21 | const describe = 'delete a channel' |
| 22 | |
| 23 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 24 | apiOrganizationCommandBuilder(yargs) |
| 25 | .positional('id', { describe: 'channel id', type: 'string' }) |
| 26 | .example([ |
| 27 | ['$0 edge:channels:delete', 'choose the channel to delete from a list'], |
| 28 | [ |
| 29 | '$0 edge:channels:delete 636169e4-8b9f-4438-a941-953b0d617231', |
| 30 | 'delete the channel with the specified id', |
| 31 | ], |
| 32 | ]) |
| 33 | .epilog(buildEpilog({ command, apiDocs: 'deleteChannel' })) |
| 34 | |
| 35 | |
| 36 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
nothing calls this directly
no test coverage detected