Something went wrong

Thank you for being patient! We're working hard on resolving the issue

cells - Lona Docs Log in

cells <fixture-path> <row-label>

List every cell on one source row.

deno run --allow-read --unstable-sloppy-imports \
  tento/tento-lona-js/cli/rows-fixtures/src/lona-rows.deno.ts \
  cells tento/tento-lona-js/sheets/tests.shared/sheets/formula-simple-seeded.sheet.json Weight

What it does

  1. Hydrates the fixture (same path as hydrate).
  2. Resolves the row by label (O(N) scan over sheet.allRows()).
  3. If the row isn't found or isn't a SourceRow, exits with code 2.
  4. Prints <label> — N cells then one line per cell in raw-date order: <date> [<cellId>] <JSON-stringified value>.

cellId is omitted when absent (single-cardinality rows).

Output shape

Single-cardinality (most rows):

Weight — 2 cells
ymd-2026-4-18 200
ymd-2026-4-20 210.5

Multi-cardinality (multiple events / tasks per date):

Sprint Tasks — 4 cells
ymd-2026-4-18 [t_3f9a] {"title":"Plan","done":false}
ymd-2026-4-18 [t_44bb] {"title":"Standup","done":true}
ymd-2026-4-19 [t_a1b2] {"title":"Review","done":false}
ymd-2026-4-20 [t_c0d1] {"title":"Demo","done":false}

Errors

  • Row label not found → error: row "<label>" not found, exit 2.
  • Row found but not a SourceRowerror: row "<label>" is not a source row (got <variant>), exit 2.

Use cases

  • Inspecting the raw cellId for multi-cardinality rows (events, tasks, slots).
  • Confirming a wire decoder ran on a fixture (value should be the canonical typed object, not raw JSON).
  • Bisecting why a renderer plugin shows nothing — does the source row even have cells in the date range?

See also