@andresaya/edge-tts
Version:
Edge TTS is a package that allows access to the online text-to-speech service used by Microsoft Edge without the need for Microsoft Edge, Windows, or an API key.
19 lines (18 loc) • 573 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const SynthesizeCommand_1 = require("../commands/SynthesizeCommand");
const VoiceListCommand_1 = require("../commands/VoiceListCommand");
const commander_1 = require("commander");
const program = new commander_1.Command();
program
.version('1.3.0')
.addCommand(SynthesizeCommand_1.SynthesizeCommand)
.addCommand(VoiceListCommand_1.VoiceListCommand);
try {
program.parse();
}
catch (error) {
console.error(`Error: ${error.message}`);
process.exit(1);
}