(&self)
| 77 | |
| 78 | impl Command for MemoryShow { |
| 79 | fn run(&self) -> CliResult<()> { |
| 80 | // Every form routes: the wire carries the lift inputs plus the raw |
| 81 | // attestation sources, so the projection runs client-side with |
| 82 | // the SAME bridge code over wire data. |
| 83 | if crate::commands::rpc::memory_show(self)? { |
| 84 | return Ok(()); |
| 85 | } |
| 86 | |
| 87 | let root = find_repository_root()?; |
| 88 | let repo = |
| 89 | crate::commands::open_readonly_repository(&root).map_err(CliError::Repository)?; |
| 90 | |
| 91 | let inputs = bridge::read_memory(&repo, &self.id)?; |
| 92 | let attestation = bridge::load_attestation(&repo, &self.id, &inputs)?; |
| 93 | project(&self.id, &inputs, &attestation, self.json) |
| 94 | } |
| 95 | } |
nothing calls this directly
no test coverage detected