nova-table

command
v1.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 35 Imported by: 0

README

nova-table

What it is

nova-table: tables whose cells are ordered sets, kept in Redis and drawn as text

Why use it

Track work in tables and live views.

Install

go install github.com/mas-bandwidth/nova-tools/cmd/nova-table@latest
nova-table version

First run

The transcript below is executed line for line by the docs tests; the full record is in docs/TESTS.md.

Run by cmd/nova-table/firstrun_test.go on a throwaway redis-server holding the nova_sprint function library (cell move is one call of ns_oset_move), so it runs in the functional tier. The documented lines name no --redis: on a bench the seat's address is the default (NOVA_SPRINT_REDIS, then NOVA_REDIS_ADDR, then the seat's row), and the test appends the throwaway server's. Every value below reproduces; nothing is normalised. The usage banner's example: block is this same sitting, line for line.

$ nova-table create demo --columns ready,working,done
TABLE CREATE table=demo columns=3 trips=1

$ nova-table row add demo build
TABLE ROW ADD table=demo row=build cols=3 bound=0 trips=1

$ nova-table cell add demo build ready b1
TABLE CELL table=demo row=build col=ready n=1 trips=1

$ nova-table cell add demo build ready b2
TABLE CELL table=demo row=build col=ready n=2 trips=1

$ nova-table cell move demo build ready working b1
TABLE MOVE table=demo row=build member=b1 from=ready to=working n=1 trips=1

$ nova-table show demo
TABLE table=demo columns=3 rows=1 trips=1 epoch=0 revision=5
TABLE ROW table=demo row=build ready=1 working=1 done=0

$ nova-table render demo
demo  | ready | working | done
------+-------+---------+-----
build |     1 |       1 |    0
------+-------+---------+-----
      |     1 |       1 |    0

Verbs

The nova-table section of the command reference documents every verb's flags, effect and exit codes.

  • create
  • help
  • set
  • drop
  • list
  • row
  • col
  • cell
  • member
  • batch
  • check
  • clear
  • show
  • render
  • watch
  • view
  • shell
  • version

Spec

The contract is docs/SPEC-NOVA-TABLE.md.

Documentation

Overview

nova-table: work tables of ordered sets, text and formulas over Redis (pkg/ntable). A table is columns with a projection and a fold each, rows in a stable order, and one Redis ZSET per body cell, owned by the table or bound to a set another tool owns; render prints it as fixed-width text, watch redraws it once a second. The sprint table's stream block is its first table (docs/nova-table/README.md).

Exit 0 done, 1 refused (the store said no: a bound cell, a table that is not there, a member that is not in its set), 2 usage (could not run).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL