dotnet/command-line-api

GetCompletions should check exit code of invoked application

Open

#2137 aperta il 31 mar 2023

Vedi su GitHub
 (1 commento) (3 reazioni) (0 assegnatari)C# (421 fork)auto 404
Area-Completionsbughelp wanted

Metriche repository

Star
 (3665 star)
Metriche merge PR
 (Merge medio 1h 58m) (1 PR mergiata in 30 g)

Descrizione

This code should probably check the exit code and not consider standard output to be completions when it is non-zero:

https://github.com/dotnet/command-line-api/blob/403234a4c4247151d09073bc07ccc13530ce62c6/src/System.CommandLine.Suggest/SuggestionStore.cs#L47-L50

cc @jonsequitur @adamsitnik

Guida contributor