commandline icon indicating copy to clipboard operation
commandline copied to clipboard

The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support

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

https://github.com/rubberduck203/GitNStats/issues/27 I recently enabled nullable reference types for my application. Since then, calling my app with the `--help` flag has started failing with an unhandled exception. ```console $ dotnet run...

Does this library support subverbs? Based on my current research it doesn't. For example, let's assume git is the top level verb, And it has several layers of subverbs. git/commit...

enhancement
good first issue

- Typo fixes; - Make use of `nameof` for parameter names; - Make use of pattern matching with `is` instead of `as` and null check.

awaiting response

### Potential use cases: - Requiring additional parsing which requires type or multiplicity changes and wanting to avoid exposing those `init`/`set`-only properties unnecessarily, as usage of the Options class from...

I think that private properties should be considered when reflecting to get all option properties. This would allow for exposing a different interface for specifying options to the CLI and...

`Environment.GetCommandLineArgs()` returns arguments including the program path (but not including `dotnet`): ```cs { "/Users/usrsse2/project/CLI/bin/Debug/net6.0/CLI.dll", "--version" } ``` When I pass it into `ParseArguments`, it correctly parses all options and values...

* install dotnet 6.0.300 * save fsx script below to a file * run `dotnet fsi ./test.fsx` Expected: Get cli usage message Actual: Get error message: ```shell System.MissingMethodException: Cannot dynamically...

This is https://github.com/commandlineparser/commandline/commit/b7102d89a90acd2d9356637ead5a0a64b58b131a with the Legacy name renamed to Classic so as not to suggest that it's obsolete or going away anytime soon. See https://github.com/commandlineparser/commandline/pull/684#issuecomment-681783784 for the rationale.

Mark CastExtensions as internal class. Closes #820