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

[Design] Do we retain current `--` behavior (.NET CLI may be nonstandard)?

Open KathleenDollard opened this issue 1 year ago • 4 comments

KathleenDollard avatar Apr 23 '24 12:04 KathleenDollard

Please retain, see https://github.com/dotnet/command-line-api/issues/2433 for why it is required.

PonchoPowers avatar Jun 01 '24 11:06 PonchoPowers

The System.CommandLine behavior (which matches POSIX expectations) is different from the .NET CLI behavior (which is nonstandard).

jonsequitur avatar Jun 01 '24 20:06 jonsequitur

I don't think we've raised an issue about the -- behavior of the .NET CLI yet - do either of you (@jonsequitur / @KathleenDollard) have a quick version I could use as the basis for one?

baronfel avatar Jun 01 '24 21:06 baronfel

The System.CommandLine behavior (which matches POSIX expectations) is different from the .NET CLI behavior (which is nonstandard).

Surely then the standardised approach should be the one that is supported, which is how System.CommandLine behaves currently.

It might be wise to add a CliConfigurationOption to specify whether to use the standard, or non-standard version?

PonchoPowers avatar Jun 02 '24 19:06 PonchoPowers