input

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskYesNo

func AskYesNo(prompt string) (bool, error)

func PickEntry

func PickEntry(store string, query string) (string, error)

Pick an entry using a fuzzy finder.

func ReadNewPassword

func ReadNewPassword(confirm bool) (string, error)

Ask the user to input a password, twice if confirm is true.

func SecureRead

func SecureRead(prompt string) (string, error)

Read a password without echo if standard input is a terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL