Files
blitzkit/src/CLI/Program.cs
T

30 lines
441 B
C#
Raw Normal View History

2025-01-23 21:43:54 -06:00
using CLI.Functions;
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-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 17:03:49 -06:00
case "test":
{
2025-01-26 17:05:53 -06:00
Debug.Run(args);
2025-01-26 17:03:49 -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
}
}
}
}