(yargs: Argv)
| 22 | const describe = 'delete an installed Schema App' |
| 23 | |
| 24 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 25 | apiCommandBuilder(yargs) |
| 26 | .positional('id', { describe: 'installed Schema App id', type: 'string' }) |
| 27 | .option('location', { |
| 28 | alias: 'l', |
| 29 | describe: 'filter results by location', |
| 30 | type: 'string', |
| 31 | array: true, |
| 32 | }) |
| 33 | .option('verbose', |
| 34 | { alias: 'v', describe: 'include location name in output', type: 'boolean', default: false }) |
| 35 | .example([ |
| 36 | ['$0 installedschema:delete', 'choose the installed Schema App to delete from a list'], |
| 37 | [ |
| 38 | '$0 installedschema:delete 5dfd6626-ab1d-42da-bb76-90def3153998', |
| 39 | 'delete the installed Schema App with the specified id', |
| 40 | ], |
| 41 | ]) |
| 42 | .epilog(buildEpilog({ command, apiDocs: 'deleteIsaByIsaId' })) |
| 43 | |
| 44 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 45 | const command = await apiCommand(argv) |
nothing calls this directly
no test coverage detected