add ShowConfirmations helper
Offen
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
Bewertung
Dieses Issue wurde noch nicht bewertet.