(&self)
| 56 | |
| 57 | impl Command for Hooks { |
| 58 | fn run(&self) -> CliResult<()> { |
| 59 | let root = find_repository_root()?; |
| 60 | match &self.command { |
| 61 | HookCommands::Install => enable_shim(&root, false), |
| 62 | HookCommands::Uninstall => super::hook_dispatchers::uninstall_shim(&root), |
| 63 | HookCommands::Status => super::hook_dispatchers::show_status(&root), |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | #[derive(Debug)] |
nothing calls this directly
no test coverage detected