Closed Stavrospanakakis closed 2 years ago
How about providing the io.Reader as a parameter to Confirm instead?
How about providing the io.Reader as a parameter to Confirm instead?
Check https://github.com/marcosnils/bin/pull/132#discussion_r847492299. I though it was easier to handle it separately :pray:
The branch had conflicts so I rebased :)
This commit refactors the confirmation prompt to a separate pkg.
Signed-off-by: Stavros Panakakis stavrospanakakis@gmail.com