termutil

package
v0.0.0-...-66b6dde Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPassword

func ReadPassword(prompt string) (s []byte, err error)

ReadPassword reads a value from the terminal with no echo. The prompt is ephemeral.

func WriteFile

func WriteFile(name string, data []byte, perm os.FileMode) error

WriteFile writes data to the named file. If the file exists it will ask for confirmation before overwriting it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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