(yargs: Argv)
| 22 | const describe = 'uninstall unused edge drivers from a hub' |
| 23 | |
| 24 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 25 | apiCommandBuilder(yargs) |
| 26 | .option('hub', { alias: 'H', describe: 'hub id', type: 'string' }) |
| 27 | .example([ |
| 28 | ['$0 edge:drivers:prune', 'prompt for a hub and prune its drivers'], |
| 29 | [ |
| 30 | '$0 edge:drivers:prune --hub b0cd47c6-2bbd-45f7-9726-6dcd374b8eb3' + |
| 31 | 'prune drivers on the specified hub', |
| 32 | ], |
| 33 | ]) |
| 34 | .epilog(buildEpilog({ command, apiDocs: 'uninstallDriver' })) |
| 35 | |
| 36 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 37 | const command = await apiCommand(argv) |
nothing calls this directly
no test coverage detected