command-line-api icon indicating copy to clipboard operation
command-line-api copied to clipboard

Command line parsing, invocation, and rendering of terminal output.

Results 409 command-line-api issues
Sort by recently updated
recently updated
newest added

[The test I used to confirm unexpected behavior](https://github.com/dotnet/command-line-api/blob/963d34b1fb712c673bfb198133d7e988182c9ef4/src/System.CommandLine.Tests/ParserTests.cs#L1550) The test is: ```csharp [Fact] public void When_option_arguments_are_greater_than_maximum_arity_then_an_error_is_returned() { var command = new CliCommand("the-command") { new CliOption("-x") { Arity = new ArgumentArity(2,...

Based on conversations with @jonsequitur, I think we can improve name based lookups in Powderhouse. ## Problem > e.g. consider this command line: > > ``` > myapp --opt1 123...

Powderhouse

How to do you prevent `IHost` from starting when executing a command on the command-line? It starts no matter what when using `UseHost`. What's the best way to allow all...

My understanding of Posix rules for ``` inner -x one -x two ``` is that it should result in "two" for "-x" when the declaration is what is included in...

dotnet-suggest is a separate project that supplies an entry point to a CLI application allowing common handling of the scripts required to do tab completion. Jon thinks bringing this back...

Powderhouse

The `Tokenizer...TryUnundle` local static method uses unsafe code and is very difficult to follow. While this was part of a PR that made significant perf improvements, it is not obvious...

Powderhouse

The current structure of `Location` is: ```csharp public string Text { get; } public string Source { get; } public int Index { get; } public int Offset { get;...

Design
Powderhouse

ConsoleHack was a temporary approach to get runnable tests. We need to replace this with a TextWriter, wrapped TextWriter or similar. The solution should leave the door open for extension,...

Powderhouse

The ApiCompatibility tests describe the API shape and ensure there are no accidental changes. We took these tests off-line in Powderhouse as we were making the initial changes. Reviewing now...

Design
Powderhouse