You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matthias Beerens edited this page Nov 5, 2019
·
1 revision
It is possible to configure how the parser behaves using CommandLineParserOptions.
Example
usingMatthiWare.CommandLine;staticvoidMain(string[]args){varoptions=newCommandLineParserOptions{AppName="CLI.Tutorial",// Will be used in case of help or error messagePrefixShortOption="/",// Required prefix for the short version of the optionPrefixLongOption="--",// Required prefix for the long version of the optionPostfixOption="="// Postfix options are optional };varparser=newCommandLineParser(options);// Further configuration}