Commit Graph

4 Commits

Author SHA1 Message Date
Mario Campos
da149812f1 Switch CommandCacheKey back to an enum
The code reads better/simpler as an `enum`.
2026-06-30 16:10:41 -05:00
Mario Campos
0d698171d3 Move output type validators to output-cache.ts module
This move simplifies the consumer-side of the module. And, also, the validators should be an internal implementation detail—not the concern of those who wish to "get" a cached output.
2026-06-30 15:39:36 -05:00
Mario Campos
c2f43799c5 Refactor CommandCacheKey as a string union 2026-06-29 23:25:50 -05:00
Mario Campos
41965b0e7b Move cache.ts to cli/output-cache.ts
This change should hopefully make the purpose of this module clear.
2026-06-29 22:16:21 -05:00