public static bool ParseHelp(string[] args) { var helpParser = new Parser(typeof (HelpArgument), NullErrorReporter); var helpArgument = new HelpArgument(); helpParser.Parse(args, helpArgument); return helpArgument.help; }
public static bool ParseArguments(string[] arguments, object destination, ErrorReporter reporter) { var parser = new Parser(destination.GetType(), reporter); return parser.Parse(arguments, destination); }