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

Per title. For an empty description, the help currently shows: ``` Description: ``` The API treats descriptions as optional (`string?`), so the help should do too. cc @adamsitnik @jonsequitur

bug
help wanted
Area-Help

Version: 2.0.0-beta7.25380.108 (Latest NuGet as of this writing) ``` C# [TestMethod] public void RawApi_Version_Error_tests( ) { var rootCommand = new RootCommand("Test Root") { new Option("--option1") { Description = "Test option...

Area-Parser and Binder

Current docs are here and mention directives but not in detail: https://learn.microsoft.com/en-us/dotnet/standard/commandline/use-middleware

Area-Documentation
Area-API

```csharp // I assume this is "split on whitespace, unless it was quoted"? public IEnumerable Split(string commandLine); ```

Area-Parser and Binder
Area-Documentation
Area-API

```csharp // Why does this need to be IEquatable? (It's a class. If it was a struct it'd be "because guidelines say so") public class TwoColumnHelpRow : IEquatable ```

Area-Help

```C# // Typo? Looks like this is defined on Symbol. public string Name { get; set; } ```

bug
Area-Build & Infrastructure

My current process for renaming aliases looks like the following: 1. Create a new symbol (lets take an Option for example) with the new aliases I want 2. Mark the...

enhancement
Area-API

- [ ] App samples (@jonsequitur) - [ ] Using parser without actions - [ ] Using the parser with actions (simple case) - [ ] Intercepting and replacing actions...

Area-Documentation