mirror of
https://onedev.fprog.nl/DiscordClient
synced 2025-12-29 06:28:37 +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
|
||||
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
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue