Added sensitive input.

This commit is contained in:
Raphaël Numbus
2026-05-29 22:11:42 +02:00
parent f38ab53719
commit 185988d411
+1 -1
View File
@@ -32,7 +32,7 @@ get_valid_input() {
fi
while true; do
local INPUT=$(gum input --header "${HEADER}" --prompt "${PROMPT}" --placeholder "${PLACEHOLDER}")
local INPUT=$(gum input --header "${HEADER}" --prompt "${PROMPT}" --placeholder "${PLACEHOLDER}" --password="${SENSITIVE}")
# Handle empty input
if [[ -z "${INPUT}" ]]; then