Expand description
Cross-tool helpers.
Previously duplicated in synthesist/store.rs and lattice/store.rs; consolidated here so a fix (or the addition of a new helper) lands in one place.
Functions§
- json_
out - Render a JSON value as a single line on stdout. Every synthesist and lattice command emits JSON by convention; routing through this helper keeps the output shape consistent.
- parse_
tree_ spec - Split a
tree/specidentifier into its two parts. Prescriptive error on malformed input so CLI users see the expected shape. - today
- Today’s date as
YYYY-MM-DDin local time. Used by commands that default adate/event_dateprop to “today”.