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
trafficstars

Hi, I would like to have a group of options where either none or all of the options must be provided. Is there any way to do that currently without...

I attempted to use SplitArgs() to split an string provided by a user while the console app is running (via Console.ReadLine()) and the result of it is different than if...

[Wiki - Sequence option](https://github.com/commandlineparser/commandline/wiki/CommandLine-Grammar#sequence-option) states: > Sequence option Sequence options require one or more argument value. its type is: IEnumerable Option name may be repeated more than one time. Thus...

https://github.com/commandlineparser/commandline/wiki/How-To ```csharp var parser = new Parser(with => with.HelpWriter = null); var parserResult = parser.ParseArguments(args); parserResult .WithParsed(opt => opt.Dump()) .WithNotParsed(x => { var helpText = HelpText.AutoBuild(parserResult, h => { h.AutoHelp...

I wanted to write this code, because this seems to be the most intuitiv way: ```csharp ParserSettings settings = new() { AutoHelp = true, AutoVersion = true, CaseInsensitiveEnumValues = true,...

If AutoHelp or AutoVersion are turned off in the ParserSettings, the consequence is not to show the command as available in the help text, if a help text shows up....

Hi. I am having problems similar to described in #776 but working with version 2.9.1. My scenario is this: ```csharp using CommandLine; namespace QuickStart { class Program { public class...

Currently, Tokenizer will assume a match for a short option when it encounters a single-dash argument, when the first character matches. This is unexpected when `IgnoreUnknownArguments` is set to true--since...

I was searching for a way to use my own custom types to be parsed from arguments. For extended set of "primitive" types, Commandlineparser already uses System.ComponentModel based type conversion....

awaiting response
needs-tests

>All of the single letter options that have a corresponding name can be used as an argument to the -o option. The set -o name is provided next to the...