Files
blitzkit/src/BlitzKit.CLI/Program.cs
T
2025-04-08 16:25:35 -05:00

47 lines
859 B
C#

using System.Globalization;
using BlitzKit.CLI.Functions;
using BlitzKit.CLI.Utils;
using DotNetEnv;
namespace BlitzKit.CLI
{
class Program
{
public static CultureInfo Culture = new("en-US");
static async Task Main(string[] args)
{
Env.Load();
await AgnosticHelpers.Initialize();
switch (args[0])
{
// case "unpack":
// {
// await Unpacker.Unpack(args);
// break;
// }
// case "mangle":
// {
// Mangler mangler = new(args);
// await mangler.Mangle();
// break;
// }
case "mangle2":
{
Mangler2 mangler2 = new(args);
mangler2.Mangle();
break;
}
default:
{
throw new ArgumentException("Invalid command");
}
}
}
}
}