Files
blitzkit/src/BlitzKit.CLI/Program.cs
T
2025-02-25 17:55:05 -06:00

40 lines
694 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;
}
default:
{
throw new ArgumentException("Invalid command");
}
}
}
}
}