Docs/CLI reference

CLI reference

tama show

Looks up one hook by its exact catalog id and reports its source, command, description, rationale, and event bindings.

Looks up one hook by its exact catalog id and reports its source, command, description, rationale, and event bindings.

#Invocation

tama show <hook-id> [--json]

<hook-id> is required and must match a catalog hook id. --json prints the full structured hook entry; otherwise Tama prints human-readable fields and one blocking= line per event.

#Output and state

The command writes one hook and does not modify the catalog, hook files, or runtime state. A successful lookup exits 0.

#Refusals and failures

  • Missing <hook-id>: Tama prints the top-level usage text and exits 2.
  • Unknown id: Tama writes not found: <hook-id> and exits 1.
  • Unreadable or invalid catalog input: Tama writes the underlying error and exits 1.

Return to the complete CLI command tree.