Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmOverwrite ¶
ConfirmOverwrite asks the user if they want to overwrite the file specified by filePath until they provide an acceptable answer. It returns true if the file should be overwritten, and false otherwise.
func FileExists ¶
FileExists returns (true, nil) if the file specified by filePath exists, (false, nil) if it doesn't, or (false, err) if the file could not be accessed.
func PrintVersion ¶
PrintVersion prints the provided app version to the terminal.
func RequestUserPassword ¶
func RequestUserPassword() string
RequestUserPassword allows the user to input a password while following security guidelines (minimum length, allowed characters, etc.).
func ValidatePassword ¶
ValidatePassword evaluates the suitability of the provided password, returning true if the password is valid and false otherwise.
Types ¶
This section is empty.