pub async fn run(
command: &SecretsCommand,
config: &Config,
env: &BTreeMap<String, String>,
stdin: &mut impl Read,
out: &mut impl Write,
) -> Result<(), AppError>Expand description
Runs a schedr secrets command; stdin gives a key=- value.
§Errors
AppError::BadArgument for a bad path, key or value, or a missing key;
AppError::Failed for a secret that isn’t there, or a value that doesn’t decrypt;
AppError::Db when the database fails.