wayglass why
Show the intent, decision and reason behind a line.
Blames the line to its commit, then reads the commit’s note under refs/notes/wayglass. Without a note it asks the Worker’s audit record.
wayglass why <file>:<line>Examples
Section titled “Examples”wayglass why web/login.ts:42Global flags
Section titled “Global flags”| Flag | Default | Description |
|---|---|---|
--json |
print a JSON envelope for agents (no colour, prompts or spinners) |
Exit codes and the --json envelope are the same for every command; see For agents.
See also
Section titled “See also”wayglass: Zero Trust for code changes