using System.Collections.Generic;
using System.Threading.Tasks;
public static void Main()
var args ="--test".Split();
static void Main1(string[] args)
var parser = Parser.Default;
var parserResult = parser.ParseArguments<Options>(args);
parserResult.WithParsed<Options>(options => Run(options));
private static int Run(Options options)
Console.WriteLine("parser SUCCESS- provide your custome help/version");
[Option('r', "read", Required = false, HelpText = "Input files to be processed.")]
public bool Read { get; set; }