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