Documentation ¶ Overview ¶ Package prompt reads secrets and confirmations from the terminal. Index ¶ func Password(label string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Password ¶ func Password(label string) (string, error) Password reads a password without echoing it, returning an error when there is no terminal to read from. The prompt goes to stderr so it cannot be mistaken for program output, which keeps `ohmyssh exec` safe to pipe. Types ¶ This section is empty. Source Files ¶ View all Source files prompt.go Click to show internal directories. Click to hide internal directories.