Created
January 2, 2020 13:49
-
-
Save 0x414c49/0a42be076a34dec678ce897cb1189402 to your computer and use it in GitHub Desktop.
CLI 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Main(string[] args) | |
{ | |
var app = new CommandLineApplication<Program>(throwOnUnexpectedArg: false); | |
// rest of CLI implementions | |
app.HelpOption("-h|--help|-?"); | |
app.Execute(args); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment