(yargs: Argv)
| 31 | 'type', 'termsOfServiceUrl', 'createdDate', 'lastModifiedDate'] |
| 32 | |
| 33 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 34 | inputAndOutputItemBuilder(apiOrganizationCommandBuilder(yargs)) |
| 35 | .example([ |
| 36 | [ |
| 37 | '$0 edge:channels:create', |
| 38 | 'create a channel from prompted input', |
| 39 | ], |
| 40 | [ |
| 41 | '$0 edge:channels:create --input channel.json', |
| 42 | 'create a channel as defined in channel.json', |
| 43 | ], |
| 44 | ]) |
| 45 | .epilog(buildEpilog({ command, apiDocs: 'createChannel' })) |
| 46 | |
| 47 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 48 | const command = await apiOrganizationCommand(argv) |
nothing calls this directly
no test coverage detected