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.

Constants§

ERROR_HINT_PREFIX
ERROR_PREFIX
TAB
WARNING_PREFIX

Statics§

CONFIG
Render configuration.

Functions§

abort
ask
blank
blob
columns
comment_select
confirm
error
header
headline
help
hint
indented
input
manual
markdown
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.