prompts

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Password

func Password(prompt, name, pwdFilePath string, generate bool) (string, error)

Password prompts the user for a password if the provided pwdFilePath is empty, otherwise, it reads the password value from the given file path.

If generate is true then a password will be generated for the user if the field is left empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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