pub fn run_task_ctx_secret(
command: &SecretCommand,
env: &BTreeMap<String, String>,
version: &str,
out: &mut impl Write,
) -> Result<(), String>Expand description
Runs schedr task-ctx secret get: prints a secret the task declares (a key’s value as
it is, with no newline; a whole secret as one line of JSON); the error is the message for
stderr, with the error kind.
§Errors
Outside a task, when the channel is gone, or when the secret can’t be read (not declared, not found, its storage down).