dotnet/command-line-api

GetCompletions should check exit code of invoked application

オープン

#2,137 opened on 2023/03/31

 (1 件のコメント) (3 件のリアクション) (0 人の担当者)C# (421 件のフォーク)auto 404
Area-Completionsbughelp wanted

Repository metrics

Stars
 (3,665 個のスター)
PR merge metrics
 (平均マージ 1h 58m) (30d で 1 merged PR)

説明

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

コントリビューターガイド