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 191 commandline issues
Sort by recently updated
recently updated
newest added

When mono compiled without MONO_FEATURE_CONSOLE define, some methods of System.Console are throw System.PlatformNotSupportedException. To be exact: [Console.WindowWidth](https://github.com/mono/mono/tree/afd4971208135b8e1f1b11755f531647a4195b9f/mcs/class/corlib/System/Console.cs#L895-L899) in this case.

When a type has a constructor that takes a string, it can be used for options. I could not find this documented in the wiki. The exception message that provides...

There would be a problem once library is compiled with .NET 5.0. It should be under `#if less than NET5.0` https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.referenceequalitycomparer?view=net-5.0

**Synopsis** If a required value with a `MetaName` is omitted, the error is depicted as Option, which might be misleading: > A required value not bound to option name is...

As request. As in the subject.

Not sure it is already under consideration! ProgXYZ --version ProgXYZ --help invokes WithNotParsed and list contains error HelpRequestedError and VersionRequestedError

question

Howdy! I'm just evaluating this library for a couple of F# projects, and I was wondering if there's any way to provide a function (or `Action`) as the default instead...

Let's say i have the Verb createuser with the Options: `Name`, `Age`, `Country`, `ZIPCode` and `City` How can I define, that if `Country` is set, `ZIPCode` and `City` become required?...

checks for version error and uses same onError func as help option.

**Problem** Test fail in Xunit or Nunit framework in net4x when Copyright or Company assembly attributes are null **Problem Analysis** The problem is existing since version 2.3 and now in...