fix(configure): mask gateway password input in CLI wizard prompt

Refs #90571
This commit is contained in:
Anurag Bheemappa Gnanamurthy
2026-06-15 12:11:52 -04:00
committed by GitHub
parent 31a10ee388
commit 865e4db1cd

View File

@@ -90,6 +90,12 @@ export const text = (params: Parameters<typeof clackText>[0]) =>
...params,
message: stylePromptMessage(params.message),
});
/** Styled password prompt wrapper. Echoes bullets so secrets never appear in cleartext. */
export const password = (params: Parameters<typeof clackPassword>[0]) =>
clackPassword({
...params,
message: stylePromptMessage(params.message),
});
/** Styled confirm prompt wrapper. */
export const confirm = (params: Parameters<typeof clackConfirm>[0]) =>
clackConfirm({