Files
pico-loader/tools/PicoLoaderConverter/PicoLoaderConverter/Program.cs
2025-11-23 17:14:17 +01:00

25 lines
627 B
C#

using CommandLine;
using PicoLoaderConverter.Verbs;
namespace PicoLoaderConverter;
static class Program
{
/// <summary>
/// List of verbs supported by the Pico Loader Converter.
/// To make a new verb, create a class implementing <see cref="IConverterVerb"/> and
/// add it to this list.
/// </summary>
private static readonly Type[] sVerbs = [
typeof(ApListConverterVerb),
typeof(SaveListConverterVerb)
];
static void Main(string[] args)
{
Parser.Default
.ParseArguments(args, sVerbs)
.WithParsed<IConverterVerb>(o => o.Run());
}
}