diff --git a/src/cli/Revocalize.CLI/Commands/ConversionCheckTaskCommandApiCommand.g.cs b/src/cli/Revocalize.CLI/Commands/ConversionCheckTaskCommandApiCommand.g.cs index 2ee9e3a..05f551f 100644 --- a/src/cli/Revocalize.CLI/Commands/ConversionCheckTaskCommandApiCommand.g.cs +++ b/src/cli/Revocalize.CLI/Commands/ConversionCheckTaskCommandApiCommand.g.cs @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Revocalize static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"check-task", @"Check conversion task status"); + var command = new Command(commandName ?? @"check-task", @"Check conversion task status"); command.Arguments.Add(TaskId); diff --git a/src/cli/Revocalize.CLI/Commands/ConversionConvertAudioCommandApiCommand.g.cs b/src/cli/Revocalize.CLI/Commands/ConversionConvertAudioCommandApiCommand.g.cs index 1171ad9..f9b44e7 100644 --- a/src/cli/Revocalize.CLI/Commands/ConversionConvertAudioCommandApiCommand.g.cs +++ b/src/cli/Revocalize.CLI/Commands/ConversionConvertAudioCommandApiCommand.g.cs @@ -78,9 +78,9 @@ private static string FormatResponse(ParseResult parseResult, global::Revocalize static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"convert-audio", @"Convert a vocal audio file to a target voice model"); + var command = new Command(commandName ?? @"convert-audio", @"Convert a vocal audio file to a target voice model"); command.Options.Add(Audio); command.Options.Add(Audioname); command.Options.Add(Model); diff --git a/src/cli/Revocalize.CLI/Commands/ModelsCreateModelCommandApiCommand.g.cs b/src/cli/Revocalize.CLI/Commands/ModelsCreateModelCommandApiCommand.g.cs index 302414b..7777de7 100644 --- a/src/cli/Revocalize.CLI/Commands/ModelsCreateModelCommandApiCommand.g.cs +++ b/src/cli/Revocalize.CLI/Commands/ModelsCreateModelCommandApiCommand.g.cs @@ -43,9 +43,9 @@ private static string FormatResponse(ParseResult parseResult, global::Revocalize static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"create-model", @"Create a pending custom AI voice model"); + var command = new Command(commandName ?? @"create-model", @"Create a pending custom AI voice model"); command.Options.Add(TrainingAudioFiles); command.Options.Add(TrainingAudioFilesname); diff --git a/src/cli/Revocalize.CLI/Commands/ModelsListModelsCommandApiCommand.g.cs b/src/cli/Revocalize.CLI/Commands/ModelsListModelsCommandApiCommand.g.cs index d043d7e..4b451f4 100644 --- a/src/cli/Revocalize.CLI/Commands/ModelsListModelsCommandApiCommand.g.cs +++ b/src/cli/Revocalize.CLI/Commands/ModelsListModelsCommandApiCommand.g.cs @@ -31,9 +31,9 @@ private static string FormatResponse(ParseResult parseResult, global::Revocalize static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"list-models", @"Get available AI voice models"); + var command = new Command(commandName ?? @"list-models", @"Get available AI voice models"); diff --git a/src/cli/Revocalize.CLI/Commands/TrainingTrainModelCommandApiCommand.g.cs b/src/cli/Revocalize.CLI/Commands/TrainingTrainModelCommandApiCommand.g.cs index 5ac83cd..0c6a1a2 100644 --- a/src/cli/Revocalize.CLI/Commands/TrainingTrainModelCommandApiCommand.g.cs +++ b/src/cli/Revocalize.CLI/Commands/TrainingTrainModelCommandApiCommand.g.cs @@ -42,9 +42,9 @@ private static string FormatResponse(ParseResult parseResult, global::Revocalize static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"train-model", @"Train a custom AI voice model"); + var command = new Command(commandName ?? @"train-model", @"Train a custom AI voice model"); command.Arguments.Add(ModelId); command.Options.Add(Epochs); diff --git a/src/cli/Revocalize.CLI/Revocalize.CLI.csproj b/src/cli/Revocalize.CLI/Revocalize.CLI.csproj index 66802ef..1c5d859 100644 --- a/src/cli/Revocalize.CLI/Revocalize.CLI.csproj +++ b/src/cli/Revocalize.CLI/Revocalize.CLI.csproj @@ -19,11 +19,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + \ No newline at end of file