# 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).
GetCommands adds common flags to query commands.
GetConfirmation will request user give the confirmation from stdin.
GetKeyBase initializes a keybase based on the given db.
GetPassword will prompt for a password one-time (to sign a tx) It enforces the password length.
GetSeed will request a seed phrase from stdin and trims off leading/trailing spaces.
MockKeyBase generates an in-memory keybase that will be discarded useful for --dry-run to generate a seed phrase without storing the key.
PostCommands adds common flags for commands to post tx.
# Constants
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
MinPassLength is the minimum acceptable password length.
# Variables
LineBreak can be included in a command list to provide a blank line to help with readability.