pub fn append_history_entry(command: &HistoryCommand, path: &Path, debug: bool)