(yargs: Argv)
| 20 | const describe = 'unlink a Schema App from smartthings' |
| 21 | |
| 22 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 23 | apiOrganizationCommandBuilder(yargs) |
| 24 | .positional('id', { describe: 'Schema App link id', type: 'string' }) |
| 25 | .example([ |
| 26 | ['$0 schema:delete', 'choose the Schema App to unlink from a list'], |
| 27 | [ |
| 28 | '$0 schema:delete 43daec4d-f2c6-4bc3-9df7-50ed1012c137', |
| 29 | 'unlink the Schema App with the specified id', |
| 30 | ], |
| 31 | ]) |
| 32 | .epilog(buildEpilog({ command, apiDocs: 'deleteAppsByEndpointAppId' })) |
| 33 | |
| 34 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 35 | const command = await apiOrganizationCommand(argv) |
nothing calls this directly
no test coverage detected