Available on crate feature
cli-common only.Expand description
Common helpers for CLI binaries.
Modules§
- file_io
- File I/O helpers for CLI binaries.
Structs§
- Stdin
Guard - A guard that helps to ensure that standard input is only used once.
- UiCallbacks
- Implementation of age callbacks that makes requests to the user via the UI.
Enums§
- Passphrase
- A passphrase.
- Read
Error - Errors that can occur while reading recipients or identities.
Functions§
- read_
identities - Reads identities from the provided files.
- read_
or_ generate_ passphrase - Reads a passphrase from stdin, or generates a secure one if none is provided.
- read_
recipients - Reads recipients from the provided arguments.
- read_
secret - Requests a secret from the user.