commandline icon indicating copy to clipboard operation
commandline copied to clipboard

The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support

Results 186 commandline issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Displayed C# code doesn't work **To Reproduce** Go to the wiki and look at source code C# "Example 1" https://github.com/commandlineparser/commandline/wiki/HelpText-Configuration **Additional context** The the code "Example 1"...

If I have a string option and it is called without a value, no error is thrown. This is what I would expect. ```csharp using CommandLine; namespace cli { public...

Hi, I have many verbs. I would like for each verbs to first display the option values automaticaly. Is there is a way to do that easily ? Regards Sybaris

I would like to have a new parameter for Option: bool Interactive. When this is set to true, a delegate function will be called (which you need to pass in...

feature request

The `DateOnly` data type causes a `NotSupportedException` to be thrown when calling `ParseArguments`. v2.9.1 from Nuget. ``` public class CommandLineOptions { [Option('v', "verbose", Required = false, HelpText = "Set output...

help wanted

Added `params` keyword to `VerbAttribute` constructor so that it can be used when forming the attribute as follows: ```c# [Verb("my-command", false, "do", "the", "thing")] public class MyCommandClass { //does the...

As for now it seems that a DateTime option is simply parsed and therefore converted to local time It should be possible to keep the date in UTC

Below is a very simplified C# console application I called DefaultVerb. Running the application with **start** or **finish** works as expected, outputting Start or Finish correctly, but if I run...

Is there a way to make the **HelpText** parameter support a different language at runtime? example idea, is there an alternative? ``` public class Options { public static Localizer _rb;...

Propose a smarter help text when SetName exists, prefer separated help text based on SetName, because the current help text doesn't tell users options in different SetNames are exclusive. we...