commandline
commandline copied to clipboard
The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
I wish this style of usage example was already around somewhere, or easier to find if they are! These ones show how to: * parse options and get result without...
While using the library is explained quite clearly, the synatx expected to call the program is not. You get only a hint of it when going down into the [Getting...
Hey all - apologies if this exists, can't find it easily. I'm looking for an easier capability to display the valid enum values. I don't need any custom HelpText behavior...
Currently if I type application name help screen does not contain any short description of application. If I use help on windows dir command: ``` `C:\Users\Example>dir /? Displays a list...
C# 9.0 syntax allows now to declare reference types as 'records' which is a nice syntax sugar for (immutable) data-container classes. There's a way to declare a record type as...
In F#, I see regular issues where the compiler is trying to use System.CommandLine. When you do 'open CommandLine', you get this warning: `This declaration opens the namespace or module...
.NET 6 is the newest LTS version of .NET and has some nice improvements: https://devblogs.microsoft.com/dotnet/announcing-net-6/ Would be useful for projects using this library if it had .NET 6 as a...
So I want to do something like this: ```bash $ app.exe ``` First argument is a value, and I want to make it global for every verb in app. For...
Consider the following class: ```csharp class Parameters { [Option("bool")] public bool Bool { get; set; } [Option("nullable-bool")] public bool? NullableBool { get; set; } } ``` It works fine for...
I have a C# app composed of multiple projects. The entry point is called `CLI`. [Following the example on the front page](https://github.com/commandlineparser/commandline#c-examples), it looks like I'm forced to print this...