grok run
grok run is the simplest non-interactive way to ask Grok Code for one result.
Basic Use
bash
grok run "review the current diff for bugs"Good Use Cases
- a one-shot question
- a quick review
- a human-readable response in the shell
Important Side Effect
When a run succeeds and produces edits, those edits are applied live.
If you want staged review instead, use the TUI and Gate.