Files
blitzkit/src/BlitzKit.CLI/Program.cs
T

36 lines
568 B
C#
Raw Normal View History

2025-01-28 12:59:59 -06:00
using BlitzKit.CLI.Functions;
using BlitzKit.CLI.Utils;
2025-01-20 22:16:15 -06:00
2025-01-28 12:59:59 -06:00
namespace BlitzKit.CLI
2025-01-20 22:16:15 -06:00
{
class Program
{
2025-01-25 23:51:18 -06:00
static async Task Main(string[] args)
2025-01-20 22:16:15 -06:00
{
2025-01-27 22:17:13 -06:00
await AgnosticHelpers.Initialize();
2025-01-23 21:43:54 -06:00
switch (args[0])
2025-01-20 22:16:15 -06:00
{
2025-01-25 21:42:25 -06:00
case "unpack":
2025-01-23 21:43:54 -06:00
{
2025-01-25 23:51:18 -06:00
await Unpacker.Unpack(args);
2025-01-23 21:43:54 -06:00
break;
}
2025-01-25 21:42:25 -06:00
2025-01-26 21:17:25 -06:00
case "mangle":
{
2025-02-01 21:21:12 -06:00
Mangler mangler = new();
mangler.Mangle();
2025-01-26 21:17:25 -06:00
break;
}
2025-01-25 21:42:25 -06:00
default:
{
throw new ArgumentException("Invalid command");
}
2025-01-20 22:16:15 -06:00
}
}
}
}