/* * WARNING: * This tool was created by an LLM based on the SessionZero shared lib project, therefore it is subject to errors and does not reflect the architecture of the SessionZero project. * It was created to be used as a quick and dirty validation tool for the szpack format. */ using Spectre.Console.Cli; namespace SessionZero.Tools.Packer; internal class Program { static int Main(string[] args) { var app = new CommandApp(); app.Configure(config => { config.SetApplicationName("szpack"); config.AddCommand("create") .WithDescription("Creates a new datapack directory with test objects."); config.AddCommand("pack") .WithDescription("Compresses a datapack directory into a .szpack file."); config.AddCommand("unpack") .WithDescription("Extracts a .szpack file and displays its metadata."); // Optional: Set a default command if no command is specified // config.SetDefaultCommand(); }); return app.Run(args); } }