This commit is contained in:
@ -220,15 +220,15 @@ environment. Typically, you can let Abra generate them for you on app creation
|
||||
}
|
||||
|
||||
if data == "" && !internal.NoInput {
|
||||
log.Debug("Secret data not provided on command-line, prompting")
|
||||
log.Debug(i18n.G("secret data not provided on command-line, prompting"))
|
||||
var prompt survey.Prompt
|
||||
if !insertFromFile {
|
||||
prompt = &survey.Password{
|
||||
Message: i18n.G("Specify secret value"),
|
||||
Message: i18n.G("specify secret value"),
|
||||
}
|
||||
} else {
|
||||
prompt = &survey.Input{
|
||||
Message: i18n.G("Specify secret file"),
|
||||
Message: i18n.G("specify secret file"),
|
||||
}
|
||||
}
|
||||
if err := survey.AskOne(prompt, &data); err != nil {
|
||||
|
Reference in New Issue
Block a user