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
trafficstars

I've just upgraded my project to .NET 7 and seen that it results in an error (when running): ``` Error setting value to option 'u, url': Check if Option or...

I got no parsing error if a positional argument is present example: no value/positional arguments allowed at all option with space abc.exe -t myPath/with a/unwandted/space so the option is myPath/with...

Hello. I am attempting to upgrade my commandlineparser code to the latest version and I am struggling. The program's requirements are pretty simple: must have one and only one parameter,...

calling my console app with single parameter --help or --version is showing the help/version, but then not quitting the app. It continues to run. My setup code is as follows:...

I would like to be able to access Options. via methods, and effectively use them as global variables e.g. public static string OptionA = Options.OptionA; public static string OptionB =...

This library should not return a non-zero exit code for the default supported verbs and options: - help - version - --help - --version ```csharp using System; using CommandLine; public...

* license expression is the preferred way (shows in NuGet.org and used in license validations) * added `/p:ContinuousIntegrationBuild=True` to get deterministic build (see warning https://nuget.info/packages/CommandLineParser/2.9.1) * added `true` to remove...

Would it be a possible to remove the limit on the number of verbs supported? Currently the limit is 16. Ideal would be no limit if that's not possible due...

I wanted to use the library in a command line tool and also make use of the trimming features. I added trimming attributes to make it work for .net 8.0....

When constructing the instance of from the array of types provided to the `ParseArguments` it would be nice if the instance supplied had it's dependencies resolved via constructor arguments. Perhaps...

question