MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / main

Function main

texttospeech/listVoices.js:39–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39async function main() {
40require(`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
53main().catch(console.error);

Callers 1

listVoices.jsFile · 0.70

Calls 1

listVoicesFunction · 0.85

Tested by

no test coverage detected