Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created January 6, 2017 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/e311c092ab1f0ad9afcac2c0edb9321f to your computer and use it in GitHub Desktop.
Save angelovstanton/e311c092ab1f0ad9afcac2c0edb9321f to your computer and use it in GitHub Desktop.
var commandLineParser = new FluentCommandLineParser();
commandLineParser.Setup<string>('p', "path").Callback(s => filePath = s);
commandLineParser.Setup<string>('y', "year").Callback(y => yearInput = y);
commandLineParser.Setup<string>('i', "profileId").Callback(p => profileIdInput = p);
commandLineParser.Parse(args);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment