adding new AskSecret to ColorizeUi
This commit is contained in:
parent
daeaba5cd4
commit
b08ba78341
|
@ -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