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

**Code snippet:** ```cs public class Options { [Option] public required int Port { get; init; } [Option] public required string Server { get; init; } } ``` **Expected behaviour:** Both...

This PR adds the ability to give --help and --version the standard shortnames of -h and -V, controlled by two ParserSettings properties. It also allows specifying --help and --version anywhere...

I didn't find anything answering my question thus I'm asking here: Is it possible to parse the options based on the given type? See the following example ```sh teleport 123...

Using CommandLineParser 2.9.1, the unparsing behaviour with `SkipDefault = true` seems to be incorrect. Here is a test app to reproduce the behaviour. ``` using CommandLine; namespace UnparsingTest { public...

Always output options where Required = true. Output options where value == default && OptionAttribute.Default != default.

Basic example crashes with this error on start: > ERROR(S): No verb selected. add Add file contents to the index. commit Record changes to the repository. clone Clone a repository...

# Description When calling constructor with single string, if the constructor throws - the result of parsing is also throwing (misleading) exception instead of returning error lambda. # Minimal reproducable...