Skip to content

Commit

Permalink
refactor: version to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andresayac committed Oct 4, 2024
1 parent 28baee5 commit 0801a55
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "afaya/edge-tts",
"description": "Microsoft Edge's TTS",
"version": "1.0.2",
"description": "Edge TTS is a PHP 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.",
"version": "1.1.0",
"type": "library",
"license": "GPL-3.0+",
"repository": {
Expand Down
24 changes: 24 additions & 0 deletions src/cli/edge-tts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/php
<?php

declare(strict_types=1);

require 'vendor/autoload.php';

use Symfony\Component\Console\Application;
use Afaya\EdgeTTS\Commands\SynthesizeCommand;
use Afaya\EdgeTTS\Commands\VoiceListCommand;

$application = new Application('Edge TTS CLI', '1.1.0');

$application->addCommands([
new SynthesizeCommand(),
new VoiceListCommand(),
]);

try {
$application->run();
} catch (\Exception $e) {
fwrite(STDERR, 'Error: ' . $e->getMessage() . PHP_EOL);
exit(1);
}

0 comments on commit 0801a55

Please sign in to comment.