cli / cli/cli

add ShowConfirmations helper

Open
#1,680 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.