using CommandLine; using DiscordDelete; CommandLine .Parser.Default.ParseArguments(args) .MapResult( (DeleteOptions opt) => { return 0; }, (ScanOptions opt) => { return 0; }, errs => 1 );