diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-19 09:35:52 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-19 09:35:52 +0200 |
| commit | 99172c86c518fdb2104c098b7b7a79e6c13ba8ea (patch) | |
| tree | 62d7e82300c13136aa7ffb668c5ddb774ca049b6 /lib/kernel/date_spec.ml | |
| parent | d71504ad9fc39b735689da32fa0be8a63c2cc7f8 (diff) | |
| download | colitur-99172c86c518fdb2104c098b7b7a79e6c13ba8ea.tar.gz colitur-99172c86c518fdb2104c098b7b7a79e6c13ba8ea.zip | |
feat(cli): colitur table and render
Computes and renders in one process. There is deliberately no stdin-fed
render: honouring the pipe would need a JSON parser we would have to
write, purely to serialise and immediately re-parse our own view -- a
second hand-rolled component and a second place for the contract to
drift, for no benefit. colitur emit --format json | jq still composes.
An unknown extension with no --flavour is an error naming the six valid
flavours, never a silent fallback to none: guessing wrong produces
malformed output that looks fine until it does not.
A malformed template reports the parser's own reason and exits 2. A
template is user input; it must never crash the program.
Diffstat (limited to 'lib/kernel/date_spec.ml')
0 files changed, 0 insertions, 0 deletions
