cli / cli/cli

add ShowConfirmations helper

Offen
#1,680 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
core enhancement tech-debt
Vorherrschende Sprache
Go
Sterne
46.3k
Forks
9k
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
97

Beschreibung

We added `IOStreams.CanPrompt` which helps us know when to behave interactively or not. This issue
covers adding a similar helper, `IOStreams.ShowConfirmations`, that indicates whether to show the
check-mark confirmation output that certain actions have taken place.

We tend to rely on TTY checks for understanding if that output is appropriate and it would be good
to formalize it.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.