mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
rename CLI to ta
This commit is contained in:
parent
73ad035bed
commit
0f0f2b0e75
13 changed files with 38 additions and 37 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue