(&mut self)
| 189 | } |
| 190 | |
| 191 | fn run_inherited_with_cmd_context(&mut self) -> Result<()> { |
| 192 | self.status()? |
| 193 | .success() |
| 194 | .then_some(()) |
| 195 | // The [`Debug`] output of command contains a properly shell-escaped commandline |
| 196 | // representation that the user can copy paste into their shell |
| 197 | .context(format!("Failed to run command: {self:#?}")) |
| 198 | } |
| 199 | |
| 200 | fn to_string_pretty(&self) -> String { |
| 201 | std::iter::once(self.get_program()) |
no outgoing calls
no test coverage detected