()
| 37 | } |
| 38 | |
| 39 | async function main() { |
| 40 | require(`yargs`) // eslint-disable-line |
| 41 | .demand(1) |
| 42 | .command('list-voices', 'List supported voices.', {}, () => listVoices()) |
| 43 | .example('node $0 list-voices') |
| 44 | .wrap(120) |
| 45 | .recommendCommands() |
| 46 | .epilogue( |
| 47 | 'For more information, see https://cloud.google.com/text-to-speech/docs' |
| 48 | ) |
| 49 | .help() |
| 50 | .strict().argv; |
| 51 | } |
| 52 | |
| 53 | main().catch(console.error); |
no test coverage detected