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

贡献者指南