nrepo diff
Synopsis
Section titled “Synopsis”nrepo diff <id> [id2] [options]Description
Section titled “Description”nrepo diff compares two ideas and displays the differences in their titles, bodies, tags, and statuses.
When two IDs are given, the command compares those two ideas directly. When only one ID is provided, the idea is compared against its parent or most closely related idea (if a relation exists).
Options
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--json | boolean | (see auth) | Output diff as JSON. |
--human | boolean | (see auth) | Output diff as human-readable text. |
Examples
Section titled “Examples”Compare two ideas
Section titled “Compare two ideas”nrepo diff 42 43Output:
--- #42 Add dark mode to dashboard+++ #43 Add dark mode and theme picker
Status: exploring → building
Tags: - ui, frontend + ui, frontend, themes
Body: - Switch the dashboard to support both light and dark color schemes. + Full theming layer with dark mode, light mode, and custom palettes.Diff against parent
Section titled “Diff against parent”nrepo diff 43# Compares #43 against its parent #42 automaticallyJSON diff for tooling
Section titled “JSON diff for tooling”nrepo diff 42 43 --jsonRelated commands
Section titled “Related commands”- nrepo show — view a single idea
- nrepo branch — fork an idea into a variant
- nrepo merge — merge two ideas together
- nrepo link — manage idea relations