mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
25 lines
627 B
C#
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());
|
|
}
|
|
}
|