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
5 changes: 4 additions & 1 deletion src/cli/Murf.CLI/Commands/ApiCommand.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

namespace Murf.CLI.Commands;

internal static class ApiCommand
internal static partial class ApiCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command("api", "Generated endpoint commands.");
Expand All @@ -17,6 +19,7 @@ public static Command Create()
command.Subcommands.Add(SubpackageTextApiGroupCommand.Create());
command.Subcommands.Add(SubpackageTextToSpeechApiGroupCommand.Create());
command.Subcommands.Add(SubpackageVoiceChangerApiGroupCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
5 changes: 4 additions & 1 deletion src/cli/Murf.CLI/Commands/SubpackageAuthApiGroupCommand.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@

namespace Murf.CLI.Commands;

internal static class SubpackageAuthApiGroupCommand
internal static partial class SubpackageAuthApiGroupCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"subpackage-auth", @"subpackage_auth endpoint commands.");
command.Subcommands.Add(SubpackageAuthGenerateTokenCommandApiCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.AuthT
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"generate-token", @"Generate auth token
Expand All @@ -55,6 +57,7 @@ await CliRuntime.WriteResponseAsync(
FormatResponse,
cancellationToken).ConfigureAwait(false);
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@

namespace Murf.CLI.Commands;

internal static class SubpackageDubbingSubpackageDubbingJobsApiGroupCommand
internal static partial class SubpackageDubbingSubpackageDubbingJobsApiGroupCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"subpackage-dubbing-subpackage-dubbing-jobs", @"subpackage_dubbing.subpackage_dubbing/jobs endpoint commands.");
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingJobsCreateDubbingJobCommandApiCommand.Create());
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingJobsCreateDubbingJobWithProjectIdCommandApiCommand.Create());
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingJobsGetStatusCommandApiCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.ApiJo
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"create-dubbing-job", @"Create");
Expand Down Expand Up @@ -166,6 +168,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.ApiJo
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"create-dubbing-job-with-project-id", @"Create With Project Id");
Expand Down Expand Up @@ -157,6 +159,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.DubJo
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"get-status", @"Get Status");
Expand Down Expand Up @@ -66,6 +68,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@

namespace Murf.CLI.Commands;

internal static class SubpackageDubbingSubpackageDubbingLanguagesApiGroupCommand
internal static partial class SubpackageDubbingSubpackageDubbingLanguagesApiGroupCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"subpackage-dubbing-subpackage-dubbing-languages", @"subpackage_dubbing.subpackage_dubbing/languages endpoint commands.");
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingLanguagesListDestinationLanguagesCommandApiCommand.Create());
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingLanguagesListSourceLanguagesCommandApiCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ private static string FormatResponse(ParseResult parseResult, global::System.Col
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"list-destination-languages", @"List Destination Languages");
Expand Down Expand Up @@ -62,6 +64,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ private static string FormatResponse(ParseResult parseResult, global::System.Col
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"list-source-languages", @"List Source Languages");
Expand Down Expand Up @@ -62,6 +64,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@

namespace Murf.CLI.Commands;

internal static class SubpackageDubbingSubpackageDubbingProjectsApiGroupCommand
internal static partial class SubpackageDubbingSubpackageDubbingProjectsApiGroupCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"subpackage-dubbing-subpackage-dubbing-projects", @"subpackage_dubbing.subpackage_dubbing/projects endpoint commands.");
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingProjectsCreateDubbingProjectCommandApiCommand.Create());
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingProjectsListCommandApiCommand.Create());
command.Subcommands.Add(SubpackageDubbingSubpackageDubbingProjectsUpdateCommandApiCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.ApiPr
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"create-dubbing-project", @"Create");
Expand Down Expand Up @@ -140,6 +142,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.Group
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"list", @"List");
Expand Down Expand Up @@ -75,6 +77,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.ApiPr
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"update", @"Update");
Expand Down Expand Up @@ -76,6 +78,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
5 changes: 4 additions & 1 deletion src/cli/Murf.CLI/Commands/SubpackageTextApiGroupCommand.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@

namespace Murf.CLI.Commands;

internal static class SubpackageTextApiGroupCommand
internal static partial class SubpackageTextApiGroupCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"subpackage-text", @"subpackage_text endpoint commands.");
command.Subcommands.Add(SubpackageTextTranslateCommandApiCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@

namespace Murf.CLI.Commands;

internal static class SubpackageTextToSpeechApiGroupCommand
internal static partial class SubpackageTextToSpeechApiGroupCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"subpackage-text-to-speech", @"subpackage_textToSpeech endpoint commands.");
command.Subcommands.Add(SubpackageTextToSpeechGenerateCommandApiCommand.Create());
command.Subcommands.Add(SubpackageTextToSpeechGetVoicesCommandApiCommand.Create());
command.Subcommands.Add(SubpackageTextToSpeechStreamCommandApiCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.Gener
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"generate", @"Synthesize Speech
Expand Down Expand Up @@ -244,6 +246,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ private static string FormatResponse(ParseResult parseResult, global::System.Col
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"get-voices", @"List Voices
Expand Down Expand Up @@ -76,6 +78,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ internal static partial class SubpackageTextToSpeechStreamCommandApiCommand
Hidden = true,
};

static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"stream", @"Stream Speech
Expand Down Expand Up @@ -205,6 +207,7 @@ await CliRuntime.RunAsync(async () =>

await CliRuntime.WriteBinaryAsync(parseResult, response, cancellationToken).ConfigureAwait(false);
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ private static string FormatResponse(ParseResult parseResult, global::Murf.MurfA
static partial void CustomizeResponseFormatHints(Dictionary<string, CliFormatHint> hints);


static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"translate", @"Translate");
Expand Down Expand Up @@ -77,6 +79,7 @@ await CliRuntime.WriteResponseAsync(
cancellationToken).ConfigureAwait(false);
}
}, cancellationToken).ConfigureAwait(false));
CustomizeCommand(ref command);
return command;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@

namespace Murf.CLI.Commands;

internal static class SubpackageVoiceChangerApiGroupCommand
internal static partial class SubpackageVoiceChangerApiGroupCommand
{
static partial void CustomizeCommand(ref Command command);

public static Command Create()
{
var command = new Command(@"subpackage-voice-changer", @"subpackage_voiceChanger endpoint commands.");
command.Subcommands.Add(SubpackageVoiceChangerConvertCommandApiCommand.Create());
CustomizeCommand(ref command);
return command;
}
}
Loading
Loading