modulepackage
0.1.0
Repository: https://github.com/corestario/cosmos-utils.git
Documentation: pkg.go.dev
# Functions
BufferStdin is used to allow reading prompts for stdin multiple times, when we read from non-tty.
GetCheckPassword will prompt for a password twice to verify they match (for creating a new password).
GetConfirmation will request user give the confirmation from stdin.
GetPassword will prompt for a password one-time (to sign a tx) It enforces the password length.
GetString simply returns the trimmed string output of a given reader.
OverrideStdin allows to temporarily override stdin.
PrintPrefixed prints a string with > prefixed for use in prompts.
# Constants
MinPassLength is the minimum acceptable password length.
# Variables
common errors for CLI and REST clients.
common errors for CLI and REST clients.
common errors for CLI and REST clients.