Prompt Secret – shadcn/ui File by cligentic | shadcnregistry
Prompt Secret
file
Read a secret from the TTY without echoing it. Raw mode, one dot per keystroke, handles backspace and Ctrl-C. Returns null when there is no TTY so the caller can fail with a structured error instead of hanging. No runtime dependency.