(yargs: Argv)
| 18 | const describe = 'execute a scene' |
| 19 | |
| 20 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 21 | apiCommandBuilder(yargs) |
| 22 | .positional('id', { describe: 'scene id', type: 'string' }) |
| 23 | .example([ |
| 24 | ['$0 scenes:execute', 'prompt for a scene to execute and then execute it'], |
| 25 | [ |
| 26 | '$0 scenes:execute 699c7308-8c72-4363-9571-880d0f5cc725', |
| 27 | 'execute the scene with the specified id', |
| 28 | ], |
| 29 | ]) |
| 30 | .epilog(buildEpilog({ command, apiDocs: 'executeScene' })) |
| 31 | |
| 32 | |
| 33 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
nothing calls this directly
no test coverage detected