dotnet/command-line-api

GetCompletions should check exit code of invoked application

Offen

#2.137 geöffnet am 31.03.2023

 (1 Kommentar) (3 Reaktionen) (0 zugewiesene Personen)C# (421 Forks)auto 404
Area-Completionsbughelp wanted

Repository-Metriken

Stars
 (3.665 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 38T 3h) (3 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide