dotnet/command-line-api

GetCompletions should check exit code of invoked application

Open

#2,137 建立於 2023年3月31日

在 GitHub 查看
 (1 留言) (3 反應) (0 負責人)C# (421 fork)auto 404
Area-Completionsbughelp wanted

倉庫指標

Star
 (3,665 star)
PR 合併指標
 (平均合併 1小時 58分鐘) (30 天內合併 1 個 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

貢獻者指南