feat: Add taskwarriortuitask trait

This commit is contained in:
Dheepak Krishnamurthy 2023-09-05 22:44:33 -04:00
parent e09f460e64
commit 18a54f7f03
17 changed files with 462 additions and 167 deletions

View file

@ -19,7 +19,10 @@ fn run_pandoc() -> Result<Output, std::io::Error> {
}
fn get_commit_hash() {
let git_output = std::process::Command::new("git").args(["rev-parse", "--git-dir"]).output().ok();
let git_output = std::process::Command::new("git")
.args(["rev-parse", "--git-dir"])
.output()
.ok();
let git_dir = git_output.as_ref().and_then(|output| {
std::str::from_utf8(&output.stdout)
.ok()