This repository has been archived on 2026-07-29 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
ae542893da11f63636f29d5cb6da41485b45c013
Split the view command out of the entry point and make its failure a value rather than an exception. index.ts is now scaffolding plus dispatch; view.ts owns the behaviour, returning Result<string, ViewError> (a plain-data tagged union) via neverthrow, with try/catch confined to a readFile adapter. The entry point matches the Result at the boundary. Because viewFile is a pure in-process function it is now unit-tested directly (and counted by coverage), while the subprocess tests stay as the end-to-end check. ADR 0008 records the errors-as-values convention.
Description
No description provided
Languages
TypeScript
57.1%
Nix
42.9%