commandline
commandline copied to clipboard
The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
If I omit parameter value for one parameter name, next parametername is treated as value of the parameter. Occurred at v2.9.1 from Nuget. ### What I observed Code: ``` using...
I am trying to create a verb that includes all subsequent arguments. I require it to retain the exact format in which it is passed to the verb. My intention...
**Issue by [clmcgrath](https://github.com/clmcgrath)** _Monday Jun 26, 2017 at 18:21 GMT_ _Originally opened as https://github.com/gsscoder/commandline/issues/455_ ---- Add some sort of hook or attribute to plug validation into the parser pipeline similar...
When using the "DashDash" feature, the results are unexpected when using a multi-valued option. ## Single-valued option (base case) `Program.cs` ```C# class Program { #region Main static int Main(string[] args)...
This PR is for Issue #859, where I requested that `sealed` be removed from `OptionAttribute` to allow for derived attribute types that will be shared among verbs, such as `[LogFileAttribute(Required...
public class MyOption { [Option('t', "type", Required = true, HelpText = "My entity")] public EntityType MyEntityType { get; set; } public enum MyEntityType { X0, // Example for X0 is...
Currently, the default values for an IEnumerable option are always written with spaces separating them, even when the separator is set to something else. This change reads the configured separator...
To address [Issue 377](https://github.com/commandlineparser/commandline/issues/377), I have added to list of existing specification gaurds.
Running the latest commandlineparser v2.3.0 on .Net Core 2.1. The library example doesn't seem to work at all parsing IEnumerable [Option('r', "read", Required = true, HelpText = "Input files to...
this is required when your option can accept command line arguments to other applications. See https://github.com/dotnet/BenchmarkDotNet/pull/2320#issuecomment-1577300888 for example of parsing issues