From b08ba7834156a4176819455106843e6db437feab Mon Sep 17 00:00:00 2001 From: Luke Amdor Date: Wed, 29 Apr 2015 13:07:13 -0500 Subject: [PATCH] adding new AskSecret to ColorizeUi --- command/cli_ui.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command/cli_ui.go b/command/cli_ui.go index d9016db03..7679b1ed8 100644 --- a/command/cli_ui.go +++ b/command/cli_ui.go @@ -22,6 +22,10 @@ func (u *ColorizeUi) Ask(query string) (string, error) { return u.Ui.Ask(u.colorize(query, u.OutputColor)) } +func (u *ColorizeUi) AskSecret(query string) (string, error) { + return u.Ui.AskSecret(u.colorize(query, u.OutputColor)) +} + func (u *ColorizeUi) Output(message string) { u.Ui.Output(u.colorize(message, u.OutputColor)) }