CLI reference · Commands

talos checkpoint

The file checkpoints TALOS takes before it changes files: list, show, undo, redo.

Reference for TALOS CLI 0.6.18 generated from the npm package · released

Before a turn changes files, TALOS saves what it will touch, outside your repository and outside Git. /undo in the interactive screen uses the same checkpoints.

OperationWhat it does
list Lists the checkpoints of the project, newest first.
show Shows a checkpoint: operation, state, files covered and files excluded.
undo Restores the files as they were before a checkpoint; without an id, the latest.
redo Applies again the changes an undo removed; without an id, the latest.
prune Deletes old checkpoints, keeping the newest ones of each project, and the saved file contents no checkpoint uses any more; says what was kept and how much space was freed.

Lists the checkpoints of the project, newest first.

talos checkpoint list

Shows a checkpoint: operation, state, files covered and files excluded.

talos checkpoint show <id>

Arguments

id
The id talos checkpoint list shows.

Restores the files as they were before a checkpoint; without an id, the latest.

talos checkpoint undo [id]

Arguments

idoptional
Checkpoint id.
  • Refused while a session is running.
Exit codes and errors1
CodeExitMeaning
CHECKPOINT_ACTIVE_RUN_CONFLICT 70 TALOS could not finish this action. Try again; if it happens again, keep the log for a report.

Applies again the changes an undo removed; without an id, the latest.

talos checkpoint redo [id]

Arguments

idoptional
Checkpoint id.
  • Refused while a session is running.
Exit codes and errors1
CodeExitMeaning
CHECKPOINT_ACTIVE_RUN_CONFLICT 70 TALOS could not finish this action. Try again; if it happens again, keep the log for a report.

Deletes old checkpoints, keeping the newest ones of each project, and the saved file contents no checkpoint uses any more; says what was kept and how much space was freed.

talos checkpoint prune [--keep <count>] [--days <days>] [--dry-run]

Options

--keep <value>
How many checkpoints to keep for each project, at least 1. Default 20.
--days <value>
Also delete the kept ones older than this many days.
--dry-run
Say what would be deleted, and delete nothing.
  • It covers the checkpoints of every project, not only the current one. A checkpoint still open, or one being restored, is always kept.

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model