use std::fs; use assert_cmd::Command; use assert_fs::prelude::*; #[test] fn test_list_projects_short_flag_missing_template_arg() { Command::cargo_bin("qk") .unwrap() .arg("-L") .assert() .failure() .stdout("") .stderr( "\ error: the following required arguments were not provided: