add ShowConfirmations helper
Open
core
enhancement
tech-debt
- Dominant language
- Go
- Stars
- 46.3k
- Forks
- 9k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 89
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.