commandline
commandline copied to clipboard
The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
Apologies if this question/bug was already open **Describe the bug** The property: `HelpText.AddenumValuesToHelpText` does not work when the option is of type `IEnummerable`. I'm guessing the list is masking the...
Hey, This is my attempt to address issue #890 by checking if the type has a parameterless constructor before using `Activator.CreateInstance()`. Please let me know if I didn't follow any...
**Describe the bug** In case of read-only properties in the command line options class, where a property is defined as ``` public string Foo { get; init; } ``` you...
Repro: ```csharp class Options { [Option('s', "storage", Required = true, HelpText = "Storage account name hosting metrics")] public string StorageName { get; set; } [Option('s', "key", Required = true, HelpText...
I think that it would be nice if we could display additional text about application if someone types `MyApp --help`, and additional help for verb if someone types `MyApp Verb...
Parsing FlagCounter arguments fail, when used together with default Verb feature with following error ``` ERROR(S): Option 'v' is defined multiple times. ``` code sample: ``` [Verb("option", isDefault: true)] class...
Implements #885.
Oftentimes it is useful to offer multiple long arguments for an option. A common case is a lengthy long argument for which you want to have a shorter version but...
The old example is referencing undefined methods 'run' and 'fail' and does not have an implicit entry point. It also doesn't open `CommandLine`. I tried to write a shorter example...
Check remaining positional arguments, should fix #847