dotnet/command-line-api

GetCompletions should check exit code of invoked application

Open

#2.137 geöffnet am 31. März 2023

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

Repository-Metriken

Stars
 (3.665 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1h 58m) (1 gemergte PR 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