Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions src/cli/Revocalize.CLI/Revocalize.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MinVer" Version="8.0.0">
<PackageReference Include="MinVer" Version="7.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.CommandLine" Version="2.0.12" />
<PackageReference Include="System.CommandLine" Version="2.0.7" />
<ProjectReference Include="../../libs/Revocalize/Revocalize.csproj" />
</ItemGroup>
</Project>
Loading