(&self)
| 28 | |
| 29 | impl Command for IntentLink { |
| 30 | fn run(&self) -> CliResult<()> { |
| 31 | let root = find_repository_root()?; |
| 32 | let repo = Repository::open(&root).map_err(CliError::Repository)?; |
| 33 | |
| 34 | repo.vault_intent_link(&self.id, &self.goal) |
| 35 | .map_err(CliError::Repository)?; |
| 36 | println!("Linked goal '{}' to intent '{}'", self.goal, self.id); |
| 37 | |
| 38 | Ok(()) |
| 39 | } |
| 40 | } |
nothing calls this directly
no test coverage detected