public static CommandLineBuilder UseQuarkCommandLineOptions(this CommandLineBuilder builder) => builder .UseHelp() .UseVersionOption() .UseDebugDirective() .UseParseErrorReporting() .ParseResponseFileAs(ResponseFileHandling.ParseArgsAsSpaceSeparated) .CancelOnProcessTermination() .UseAnsiTerminalWhenAvailable() .UseDefaults();
public static CommandLineBuilder UseHelp(this CommandLineBuilder builder) { var helpOption = new Option(new [] { "-h", "/h", "--help", "-?", "/?" }, "Show help and usage information"); return(builder.UseHelp(helpOption)); }
public static CommandLineBuilder UseHelp(this CommandLineBuilder builder) { return(builder.UseHelp(new HelpOption())); }
public static CommandLineBuilder UseHelp(this CommandLineBuilder builder) { var helpOption = new HelpOption(); return(builder.UseHelp(helpOption)); }