public static Options ParseCommandLineArgs(string[] args) { var options = new Options(); if (Parser.Default.ParseArguments(args, options)) { Current = options; return options; } // CommandLineParser automagically handles displaying help return null; }
public Options() { Current = this; }