mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
47 lines
859 B
C#
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");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|