Skip to Content
Commands

schema

Describe the commands and the error registry.

traj schema describes the commands and the error registry. It is generated from the same definitions that validate input, so the schema and the validation cannot drift (ADR 0015); the error registry it prints is the one the JSON error envelope reads (ADR 0013).

traj schema              # List commands and every error code.
traj schema init --json  # Show the input and output of init.

See Commands for the global options, exit codes and error envelope.