Skip to content

Commit 70584bf

Browse files
committed
chore(app): hide input when prompting for env variables
1 parent 865169d commit 70584bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/lk/app.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ func instantiateEnv(ctx context.Context, cmd *cli.Command, rootPath string, addl
311311
prompt := func(key, oldValue string) (string, error) {
312312
var newValue string
313313
if err := huh.NewInput().
314+
EchoMode(huh.EchoModePassword).
314315
Title("Enter " + key + "?").
315316
Placeholder(oldValue).
316317
Value(&newValue).

0 commit comments

Comments
 (0)