Skip to main content
Explain the captured context behind a file or line.
entire why FILE[:LINE] [flags]
Use entire why when you want to jump from a file or specific line to the commit, checkpoint, prompt, and session behind it.

Flags

FlagDescription
--line LINEExplain a specific line, for example 12. This is the same as FILE:12.
--jsonOutput explanation as JSON

Examples

entire why overview.mdx
entire why overview.mdx:12
entire why overview.mdx --line 12
entire why overview.mdx:12 --json

Continue with

Investigate Why Code Exists

Use entire why in a full provenance investigation.

checkpoint explain

Inspect the full checkpoint context.