Skip to content

tet qhist

Recent tet query log stored in the platform cache — not in the .tet file footer.

Usage

bash
tet qhist [OPTIONS] [COMMAND]

Alias: tet hist

Subcommands

SubcommandEffect
list (default)Compact table of recent queries
run NRe-run saved row (1 = newest in filtered view)

Flags

FlagEffect
--clearRemove the history file
list --allEvery retained row
--dataset, --tet, --mode, --grepFilters on list
--jsonFull JSON export on list

run N honors today's --format / -q; -t / -x / --plan override saved values.

Environment variables

VariableEffect
TET_NO_QUERY_HISTORYDisable history recording
TET_QUERY_HISTORY_FILEOverride history file path
TET_QUERY_HISTORY_MAXMax retained rows

Examples

bash
# List recent queries
tet qhist

# Re-run newest query
tet qhist run 1

# Clear history
tet qhist --clear

# Filter by dataset
tet qhist list --dataset temperature

TIP

For convert provenance stored in the .tet file itself, use tet info --history.

Latka Industries