adding new AskSecret to ColorizeUi

This commit is contained in:
Luke Amdor 2015-04-29 13:07:13 -05:00
parent daeaba5cd4
commit b08ba78341
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ func (u *ColorizeUi) Ask(query string) (string, error) {
return u.Ui.Ask(u.colorize(query, u.OutputColor)) 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) { func (u *ColorizeUi) Output(message string) {
u.Ui.Output(u.colorize(message, u.OutputColor)) u.Ui.Output(u.colorize(message, u.OutputColor))
} }