diff --git a/src/cli/Rime.CLI/Commands/TextToSpeechCreateTtsCommandApiCommand.g.cs b/src/cli/Rime.CLI/Commands/TextToSpeechCreateTtsCommandApiCommand.g.cs index d10e5f4..e90d065 100644 --- a/src/cli/Rime.CLI/Commands/TextToSpeechCreateTtsCommandApiCommand.g.cs +++ b/src/cli/Rime.CLI/Commands/TextToSpeechCreateTtsCommandApiCommand.g.cs @@ -121,9 +121,9 @@ Values below 1.0 speed up speech and values above 1.0 slow it down. static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"create-tts", @"Generate speech (Coda / Mist v3 / Mist v2) + var command = new Command(commandName ?? @"create-tts", @"Generate speech (Coda / Mist v3 / Mist v2) Synthesize speech from text using Rime's TTS models (`coda`, `mistv3`, or `mistv2`). The retired `arcana` identifier remains accepted by Rime as a compatibility alias that is served by Coda, but new applications should send `coda`. diff --git a/src/cli/Rime.CLI/Commands/VoicesListVoiceDetailsCommandApiCommand.g.cs b/src/cli/Rime.CLI/Commands/VoicesListVoiceDetailsCommandApiCommand.g.cs index 2a64cbc..0b00222 100644 --- a/src/cli/Rime.CLI/Commands/VoicesListVoiceDetailsCommandApiCommand.g.cs +++ b/src/cli/Rime.CLI/Commands/VoicesListVoiceDetailsCommandApiCommand.g.cs @@ -31,9 +31,9 @@ private static string FormatResponse(ParseResult parseResult, global::System.Col static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"list-voice-details", @"List voice details + var command = new Command(commandName ?? @"list-voice-details", @"List voice details Returns an array of voice metadata objects including speaker name, gender, age, country, dialect, demographic, genre, language, and the model the voice is available under. diff --git a/src/cli/Rime.CLI/Commands/VoicesListVoicesCommandApiCommand.g.cs b/src/cli/Rime.CLI/Commands/VoicesListVoicesCommandApiCommand.g.cs index f43114c..b38f528 100644 --- a/src/cli/Rime.CLI/Commands/VoicesListVoicesCommandApiCommand.g.cs +++ b/src/cli/Rime.CLI/Commands/VoicesListVoicesCommandApiCommand.g.cs @@ -31,9 +31,9 @@ private static string FormatResponse(ParseResult parseResult, global::System.Col static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"list-voices", @"List all available voices + var command = new Command(commandName ?? @"list-voices", @"List all available voices Returns a mapping of `modelId` → language code → list of voice names for every voice supported by Rime. Language keys follow ISO 639-2 (e.g. `eng`, `spa`). ");