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

I don't need output to console, but I need to quickly import data via parameters. Is it possible to parse with `System.CommandLine` inside WinForm? I set up the following code,...

I was trying to follow [this tutorial](https://learn.microsoft.com/en-us/dotnet/standard/commandline/) to see if I was able to create a CLI tool with tab completion, but I had a few issues along the way....

- [x] Remove `InvocationLifetime` Originally, `System.CommandLine.Hosting` was designed to depend only on `Microsoft.Extensions.Hosting.Abstractions` which made the `InvocationLifetime` class necessary. Currently however, the library depends on the full `Microsoft.Extensions.Hosting` library, so...

Apparently, a _relatively_ recent decision was made to change how application host construction is done. The "old" way was a series of chained method calls on classes that implement the...

[2.0.0-beta4.22272.1](https://www.nuget.org/packages/System.CommandLine/2.0.0-beta4.22272.1) is out for over 2 years now. Could you please publish a non-pre-release? Our CI pipeline enforces [NU5104](https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu5104) as error, which means that we can not use pre-releases outside...

This pull request updates the following dependencies [marker]: (Begin:272aed7a-a016-4fc1-8897-08d8446df6cf) ## From https://github.com/dotnet/arcade - **Subscription**: 272aed7a-a016-4fc1-8897-08d8446df6cf - **Build**: 20241016.1 - **Date Produced**: October 16, 2024 4:52:26 PM UTC - **Commit**: f7fb1fec01b91be69e4dcc5290a0bff3f28e214f...

Repro 1.install NET9 RC2 SDK on Loc windows OS. e.g Chinese/German 2. Run dotnet workload search --help 3. Run dotnet workload search version Expected Result: In Step2 & Step3, the...

I expect this is by design but was a surprise to me and I don't fully understand the motivations behind it. Passing an additional parameter to a sub command results...

See https://github.com/dotnet/arcade/issues/15019 for more details