commandline icon indicating copy to clipboard operation
commandline copied to clipboard

Terse syntax C# command line parser for .NET with F# support

Results 105 commandline issues
Sort by recently updated
recently updated
newest added

Hi. The attached file contains the configuration to parse a number of options that consist of list of elements and finally a list of filenames (after the --). The problem...

Add some sort of hook or attribute to plug validation into the parser pipeline similar some similar frameworks use attributes or factory registration to allow an entrypoint for custom validation...

If a commandline includes a quoted path ending in a \, the arguments are incorrectly merged. E.g. ``` Foo.exe --ProcessFolders --MonitorFolders --UseMediaInfoFiles --Folders "W:\" "Y:\" static int Main(string[] args) [0]...

Are there any code breaking changes for migrating from 2.3.0 to 2.4.3? Thanks. Andrew

Since v2.4.0 the CommandLineParser library has a netstandard2.0 dependency. This requires .NET v4.6.1 to be used, but a lot of commercial programs still rely on older .NET framework versions. We...

What is expected input format for DateTime parameter? I'm getting 1/1/0001 12:00:00 AM as a result whatever format I try!?

Is it possible to use the parser to populate key-value pairs? So something like "myapp.exe -v:a=x -v:b=y -v:c=z" would populate a property v which is a Dictionary with (a,x), (b,y),...

I am doing the following thing in my code but there is a compile time error that Value isn't part of result. > static void Main(string[] args) { var result...

Hello, found problem with HelpVerbOption, it does not pass verb name if specified like this: app.exe help some-verb-name Can you please check this? Also, I questioned it on stackoverflow [here](http://stackoverflow.com/questions/43092065/command-line-parser-verb-help-not-working).

Removed where T : new() from the ParseArguments factory method as it shouldn't be required if convention is followed of only mutable classes required a default constructor, and immutable classes...