rename CLI to ta

This commit is contained in:
Dustin J. Mitchell 2021-05-01 14:07:00 -04:00
parent 73ad035bed
commit 0f0f2b0e75
13 changed files with 38 additions and 37 deletions

View file

@ -4,7 +4,7 @@ use std::fs;
use std::process::Command;
use tempfile::TempDir;
// NOTE: This tests that the task binary is running and parsing arguments. The details of
// NOTE: This tests that the `ta` binary is running and parsing arguments. The details of
// subcommands are handled with unit tests.
/// These tests force config to be read via TASKCHAMPION_CONFIG so that a user's own config file
@ -17,7 +17,7 @@ fn test_cmd(dir: &TempDir) -> Result<Command, Box<dyn std::error::Error>> {
)?;
let config_filename = config_filename.to_str().unwrap();
let mut cmd = Command::cargo_bin("task")?;
let mut cmd = Command::cargo_bin("ta")?;
cmd.env("TASKCHAMPION_CONFIG", config_filename);
Ok(cmd)
}