Merge pull request #1733 from Banno/fix-colorize-ui-ask-secret
adding new AskSecret to ColorizeUi
This commit is contained in:
commit
31716cee27
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue