Skip to content

Commit

Permalink
Removed test command (oopsie)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToaHartor committed May 24, 2022
1 parent 584996b commit 0137047
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,12 @@ private static async Task<int> Main(string[] args)
hcaInputArg
};

var testCommand = new Command("test", "coucou");

rootCommand.AddCommand(testCommand);
rootCommand.AddCommand(demuxUsmCommand);
rootCommand.AddCommand(batchDemuxCommand);
rootCommand.AddCommand(convertHcaCommand);


// Command Handlers
testCommand.SetHandler(async () =>
{
await TestCommand();
});

demuxUsmCommand.SetHandler(async (FileInfo file, string key1, string key2, DirectoryInfo output, bool merge, bool subs, bool noCleanup) =>
{
await DemuxUsmCommand(file, key1, key2, output, merge, subs, noCleanup);
Expand All @@ -129,13 +121,6 @@ private static async Task<int> Main(string[] args)
return rootCommand.InvokeAsync(args).Result;
}

private static async Task TestCommand()
{
ASS test = new("./Cs_102106_Summon_Girl_PT.txt", "SDK_SC_Web");
test.ParseSrt();
test.ConvertToAss();
}

private static async Task DemuxUsmCommand(FileInfo file, string key1, string key2, DirectoryInfo output, bool merge, bool subs, bool noCleanup)
{
if (file == null) throw new ArgumentNullException("No file provided.");
Expand Down

0 comments on commit 0137047

Please sign in to comment.