Module io

Module io 

Source

Modules§

inquire
inquire is a library for building interactive prompts on terminals.
spinner

Macros§

info
notice
success
tip

Structs§

PassphraseValidator
Validates secret key passphrases.
Select
Prompt suitable for when you need the user to select one option among many.

Enums§

InputError
PaintTarget
Target for paint operations.

Constants§

PREFIX_ERROR
PREFIX_SUCCESS
PREFIX_WARNING
TAB

Statics§

CONFIG
Render configuration.

Functions§

abort
ask
blank
blob
columns
comment_select
confirm
error
header
headline
help
hint
indented
input
Prompts the user for input. If the user cancels the operation, the operation is interrupted, or no suitable terminal is found, then Ok(None) is returned.
manual
notice_args
passphrase
passphrase_confirm
passphrase_stdin
prefixed
print
println
reaction_select
rows
select
signer
Get the signer. First we try getting it from ssh-agent, otherwise we prompt the user, if we’re connected to a TTY.
spinner
Create a new spinner with the given message. Sends animation output to stderr and success or failure messages to stdout. This function handles signals, with there being only one element handling signals at a time, and is a wrapper to spinner_to().
subcommand
success_args
tip_args
usage
viewport
warning

Type Aliases§

Passphrase
Passphrase input.