mirror of
https://onedev.fprog.nl/DiscordClient
synced 2026-01-28 10:13:42 +01:00
Basic parsing.
This commit is contained in:
parent
86da656a1f
commit
f75eef0968
|
|
@ -1,2 +1,16 @@
|
||||||
// See https://aka.ms/new-console-template for more information
|
using CommandLine;
|
||||||
Console.WriteLine("Hello, World!");
|
using DiscordDelete;
|
||||||
|
|
||||||
|
CommandLine
|
||||||
|
.Parser.Default.ParseArguments<DeleteOptions, ScanOptions>(args)
|
||||||
|
.MapResult(
|
||||||
|
(DeleteOptions opt) =>
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
},
|
||||||
|
(ScanOptions opt) =>
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
},
|
||||||
|
errs => 1
|
||||||
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue