mirror of
https://github.com/claudiodangelis/qrcp.git
synced 2024-10-03 22:07:09 +03:00
parent
3b803b1192
commit
a98e75432b
@ -270,7 +270,7 @@ func Wizard(app application.App) error {
|
||||
Validate: pathIsReadableFile,
|
||||
}
|
||||
if promptTlsCertString, err := promptTlsCert.Run(); err == nil {
|
||||
v.Set("tlsCert", util.Expand(promptTlsCertString))
|
||||
v.Set("tls-cert", util.Expand(promptTlsCertString))
|
||||
}
|
||||
// TLS key
|
||||
promptTlsKey := promptui.Prompt{
|
||||
@ -279,7 +279,7 @@ func Wizard(app application.App) error {
|
||||
Validate: pathIsReadableFile,
|
||||
}
|
||||
if promptTlsKeyString, err := promptTlsKey.Run(); err == nil {
|
||||
v.Set("tlsKey", util.Expand(promptTlsKeyString))
|
||||
v.Set("tls-key", util.Expand(promptTlsKeyString))
|
||||
}
|
||||
}
|
||||
validateIsDir := func(input string) error {
|
||||
|
Loading…
Reference in New Issue
Block a user