Skip to main content

finish

Function finish 

Source
pub fn finish(program: &str, result: Result<(), Refusal>) -> ExitCode
Expand description

Renders an outcome the way every didbot command does.

Success is silent here — the verb printed its answer — and a refusal is one line on stderr, <program>: <message>, with the exit status Refusal::exit names. program is the spelling the person typed, so a verb reached as didbot login says didbot login:.