add

Function add 

Source
pub fn add(path: Option<&Path>, line: &str) -> Result<(), ModCliError>
Expand description

Append a single entry to history, creating files/dirs if necessary.