Files
blitzkit/src/CLI/Program.cs
T

33 lines
504 B
C#
Raw Normal View History

2025-01-23 21:43:54 -06:00
using CLI.Functions;
2025-01-27 22:17:13 -06:00
using CLI.Utils;
2025-01-20 22:16:15 -06:00
namespace CLI
{
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":
{
Mangler.Mangle();
break;
}
2025-01-25 21:42:25 -06:00
default:
{
throw new ArgumentException("Invalid command");
}
2025-01-20 22:16:15 -06:00
}
}
}
}