Basic parsing.

This commit is contained in:
Filip Strajnar 2024-06-16 00:12:33 +02:00
parent 86da656a1f
commit f75eef0968

View file

@ -1,2 +1,16 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
using CommandLine;
using DiscordDelete;
CommandLine
.Parser.Default.ParseArguments<DeleteOptions, ScanOptions>(args)
.MapResult(
(DeleteOptions opt) =>
{
return 0;
},
(ScanOptions opt) =>
{
return 0;
},
errs => 1
);