dotnet/command-line-api

GetCompletions should check exit code of invoked application

Ouverte

#2 137 ouverte le 31 mars 2023

 (1 commentaire) (3 réactions) (0 personne assignée)C# (421 forks)auto 404
Area-Completionsbughelp wanted

Métriques du dépôt

Stars
 (3 665 étoiles)
Métriques de merge PR
 (Merge moyen 38j 3h) (3 PRs mergées en 30 j)

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

Guide contributeur