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

In our project we would like to have the ability to have IEnumerable Option with zero range. However, it`s not possible even though Min = 0 is set. There is...

Current `OptionAttribute` have a limitation of shortName being able to be set to just one character. This creates a limitation in the functionality of giving more readable or rememberable short...

**Symptom** When turning off AutoVersion (or AutoHelp) in the `ParserSettings`, the HelpText still announces these commands as being available. **Root cause** In the `Parser` Class, the method `MakeParserResult` is called,...

I ran into an issue with CommandLine version 2.9.1. You can see the issue in the code available here: https://github.com/kevinms99/CommandLineIssue2.9.1 The project above has a compilation issue with version 2.9.1...

I would love to be able to do: ```c# public class Options { [Option('o', "out", Required = true, HelpText = "Output file")] public string OutFile { get; set; } [Option('d',...

I was using version 2.7.82 and wanted to update it to 2.9.1 and started to see the following stack: ``` Unhandled exception. System.MissingMethodException: Method not found: 'Void CommandLine.VerbAttribute..ctor(System.String)'. at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule...

You can try this with your CLI program (replace `program.exe verb` as appropriate): `program.exe verb unknownarg` Replace unknownarg with any random inputs as long as they don't start with `-`...

It's great that this library supports .NET Framework 4 – that's what makes it superior to System.CommandLine for our use case. However, we've only managed to use the pre-built DLL....

Having support for `enum` flags is great! But sometimes you don't want the user to use the actual enum values. In fact, they could easily be re-factored causing breaking changes...

More unit tests to verify various combinations of a `--` arg in the middle of a sequence. These are a few tests that I meant to include in #678 but...