CLI reference
The tet binary from the tetration crate: inspect, query, convert/export, packages, job files, semantics.
Commands
| Command | Alias | Role |
|---|---|---|
tet info | — | Summarize a file (default: dataset table) |
tet query | q | Validate and execute JSON/TOML queries |
tet verify | — | Layout / .tet.d package health check (exit 1 on failure) |
tet repair | — | Plan or apply safe in-place fixes (footer, stale publish) |
tet convert | — | HDF5 / NetCDF / Zarr / NumPy / CSV / Parquet → .tet (auto-embeds ZONE/INDEX) |
tet index | — | (Re)embed or --clear ZONE/INDEX footer spills |
tet worker | — | Localhost distributed harness: WorkerJobV1 JSON → WorkerPartialV1 (fold + dense materialize) |
tet export | — | .tet → Zarr v3 / HDF5 / NetCDF |
tet ingest / publish / pack / gc | — | Local .tet.d package ingest → publish → pack / cleanup |
tet run | — | Job file: ordered stock tet steps, fail-fast |
tet qhist | hist | Recent queries (platform cache) |
tet semantics | — | Wizard / apply one-file TOML / scaffold / set / lint / package SEMANTICS.json |
Install
See Getting started (Homebrew, cargo install, from source).
First commands
bash
tet convert volume.h5 volume.tet
tet info volume.tet
tet verify volume.tet
tet query '{"dataset":"temperature","mean":[]}' -t volume.tet -x -q
# Multi-writer package
tet ingest a.tet b.tet --out climate.tet.d --jobs 2
tet publish climate.tet.d --dry-run
tet publish climate.tet.d
tet query '{"dataset":"temp","mean":[]}' -t climate.tet.d -x -q
tet pack climate.tet.d -o climate.tet
tet gc climate.tet.d # dry-run
tet run job.toml # [Job files](/guides/job-files)Live help
Full flag lists always match the installed binary:
bash
tet --help
tet <command> --helpSee Exit codes & errors for automation details.