Skip to content

script list

Show the script executions recorded in the state store: each script’s declared name, when it was recorded, and the hash of the body that ran.

Terminal window
nschema script list
╭────────────┬──────────────────────┬───────────╮
│ Script │ Executed │ Body hash │
├────────────┼──────────────────────┼───────────┤
│ seed-users │ 2026-07-10 09:14:02Z │ 6b86b273… │
╰────────────┴──────────────────────┴───────────╯

With --json the ledger is emitted as a single array, so a script can consume it directly:

Terminal window
nschema script list --json | jq '.[].name'