dotnet/command-line-api

GetCompletions should check exit code of invoked application

Open

#2.137 aberto em 31 de mar. de 2023

Ver no GitHub
 (1 comment) (3 reactions) (0 assignees)C# (421 forks)auto 404
Area-Completionsbughelp wanted

Métricas do repositório

Stars
 (3.665 stars)
Métricas de merge de PR
 (Mesclagem média 1h 58m) (1 fundiu PR em 30d)

Description

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

Guia do colaborador