prompt

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPassword

func ReadPassword(promptText string) (string, error)

ReadPassword reads a password from the terminal (characters are hidden)

func ReadString

func ReadString(promptText, defaultValue string) (string, error)

ReadString reads a line of input from the terminal with support for arrow keys and editing

Types

This section is empty.

Jump to

Keyboard shortcuts

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