command-line-api
command-line-api copied to clipboard
Command line parsing, invocation, and rendering of terminal output.
The completion subsystem will provide tab completions based on parsing what the user has entered so far.
Steps to reproduce: 1. Use `CommandLineBuilder` with `.UseDefaults()` 2. Build a Docker image and run with `--read-only` to use a read-only file system Expected result: CommandLine shouldn't use RegisterWithDotnetSuggest by...
## For parsing - [ ] Approve Error proposal - [ ] Change `ParseError` name to `CliError` - [ ] Create `CliError` and `CliDiagnosticDescriptor` - [ ] Replace all error...
Powderhouse plans to support .NET Framework via .NET Standard. We also plan to support LTS, which is easy during development because we are in an LTS version right now. We...
[ConsoleApp1.zip](https://github.com/dotnet/command-line-api/files/7415957/ConsoleApp1.zip) This program works in .net core and .net 5. Framework, however, never works when you cancel with Ctrl + C This is the gist of the program: ``` static...
We picked the code name Powderhouse because it is a cool place and we thought it hints at what we are doing. The Powderhouse at Powderhouse Square was actually built...
We are currently planning to remove global options. We think they are rarely used and add complexity to the parser. Initialize for the subsystems gives us a great place to...
_See [this comment for proposal](https://github.com/dotnet/command-line-api/issues/2345#issuecomment-2039670601)_ `ParseError` is currently a `sealed internal` class that is used only for parser errors and 'ParseResult.ParseErrors' is a `ReadOnlyList`. **A decision on this is necessary...
In the same spirit as asking "why" on custom parsers, we are asking "why" on `TreatUnmatchedTokensAsErrors`. The major reason, and the one used by `dotnet new` and `dotnet msbuild` is...
Using version 2.0.0-beta4.24126.1 The default help display does not reflect the tool name when installed as a .NET tool. Related to https://github.com/dotnet/command-line-api/issues/403 and https://github.com/dotnet/command-line-api/issues/682, but there is no possibility to...