Skip to main content

trust_cmd

Function trust_cmd 

Source
pub fn trust_cmd(
    root: &Path,
    state: &Path,
    name: &str,
    via: &str,
    confirm: &mut dyn FnMut(&Extension) -> bool,
) -> CommandResult
Expand description

speccoder extensions trust <name>: trusted when confirm agrees, having seen the entry. Its observers hear what happens from now on.