dotnet/command-line-api

GetCompletions should check exit code of invoked application

開放

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

 (1 則留言) (3 個反應) (0 位負責人)C# (421 個分叉)auto 404
Area-Completionsbughelp wanted

倉庫指標

星標
 (3,665 顆星)
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

貢獻者指南