input

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hidden added in v2.4.2

func Hidden(question string, defaults ...[]byte) ([]byte, error)

Prompts a question with hidden input. For testing, a default answer can be provided and will be returned as is (only the first list item)

func Stdin added in v2.4.2

func Stdin() ([]byte, error)

Returns piped input

Types

This section is empty.

Jump to

Keyboard shortcuts

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