Skip to main content

secret

Function secret 

Source
pub fn secret(command: &str, env: &Environment<'_>) -> Result<String, String>
Expand description

The secret a secret_command prints, run once per session: split into arguments with no shell, through env’s runner, its output trimmed and kept in memory. An error never includes what the command printed on its standard output.