record_command

Function record_command 

Source
pub async fn record_command(
    truncate: bool,
    file_path: PathBuf,
    command: String,
    args: Vec<String>,
) -> Result<CommandInvocation>