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

In my app want to set the action of the root command to a HelpAction to display help if no subcommand is specified. This worked until the PR to split...

I'm transitioning a CLI library (for this thread, lets call it SimpleCLI) from McMaster CLI to System.CommandLine (latest daily build). SimpleCLI adds telemetry + other common functionalities to enable faster...

bug
Area-Help

Before , CliAction had a `public bool Exclusive { get; protected set; }` property, and the API summary showed that as a read-only `Exclusive` property with a separate protected `set_Exclusive`...

bug

changed the CliAction.Terminating property from `{ get; protected set; }` to `{ get; protected init; }` here: The `init` accessor cannot be directly called in C# 7; it requires at...

bug

Based on the feedback from @bartonjs : - [x] #1892 - [ ] #1893 - [x] #1894 - [x] #1895 - [x] #1896 - [x] #1897 - [x] #1898 -...

Area-API

As used in HostingExtensions.UseCommandHandler\(this CliCommand command): This seems incompatible with explicit override supported by Visual Basic, i.e. where THandler has a method that overrides CliAction.InvokeAsync but is not itself named...

bug
Impact-Low
Area-Hosting and DI

I have an app using System.CommandLine which has two commands: `compile` and `run`, which are invoked using `myapp compile path/to/some.file path/to/other.file` and `myapp run path/to/some.file` respectively. However, I would like...

Hi everyone! I have made (in collaboration with someone else) a layer on top of this library to ease integration into existing projects. Does anyone have time to take a...

It's pretty common to "install" executables on Linux by symlinking them into `$XDG_BIN_DIR`, e.g. `ln --symbolic "$XDG_DATA_HOME/go/bin/go" "$XDG_BIN_DIR/go"` I tried something similar with a dotnet CLI I created using System.CommandLine,...

bug
Area-Completions