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

I was porting over from an alternate parser, and my initial cut used a single Options class with a set of arguments. I discovered when I tried to gradually cut...

Given the following snippet where `ParserSettings.IgnoreUnknownArguments = false`: ```c# using System; using CommandLine; namespace Cmd { class Program { static void Main(string[] args) { var parser = new Parser(with =>...

bug

A bit like wget where you can do `wget https://someurl -O -` to say to output to stdout. Although I cannot get it to work: ``` ./generator.exe -o - ERROR(S):...

enhancement

Hi, At the very bottom of the README.md file, there is a link to a blog, the link is broken. Thanks.

I started using command line parser in one of my projects, all was fine until, out of nowhere this error starts happening if I request HelpText: ``` System.ArgumentOutOfRangeException occurred HResult=0x80131502...

Whenever I try to to use it this, I get an argument exception with 'factory' as the message. I'm unable to build the code in VS, so I cant check...

How do I print the help output I've evaluated the logical options and something is wrong? ``` // Parse the commandline arguments // https://github.com/gsscoder/commandline Parser parser = new Parser(with =>...

I'm using the following option class to parse a list of Enum values separated by ":' characters so my command line might look like prog -s NI:GALVO_CHILLER:OTS:A3200 would be nice...

Is there anyway I can express `myapp -o a/b/c -o d/e/f -o g/h/i`? Ideally it could be expressed like: ```c# [Option('o', MultipleInstance = true)] IEnumerable OutputPaths {get; set;} ```

Hello, At the bottom part of the README.md, the link to the blog is broken.