nrepo edit
Synopsis
Section titled “Synopsis”nrepo edit <id> [options]Description
Section titled “Description”nrepo edit updates the title or body of an existing idea. You must provide at least one of --title or --body. Fields you do not specify remain unchanged.
Options
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--title <title> | string | (unchanged) | Set a new title. |
--body <body> | string | (unchanged) | Set a new body. Supports Markdown. |
--json | boolean | (see auth) | Output as JSON. |
--human | boolean | (see auth) | Output as human-readable text. |
Examples
Section titled “Examples”Update the title
Section titled “Update the title”nrepo edit 42 --title "Add dark mode and theme picker"Update the body
Section titled “Update the body”nrepo edit 42 --body "Use CSS custom properties for theming. Support system preference detection."Update both fields
Section titled “Update both fields”nrepo edit 42 \ --title "Theme system v2" \ --body "Complete redesign of the theming layer with dark mode support."Output
Section titled “Output”On success the CLI prints the updated idea summary. With --json, the full updated idea object is returned.
Related commands
Section titled “Related commands”- nrepo show — view the current state of an idea
- nrepo move — change an idea’s status
- nrepo tag — manage tags on an idea
- nrepo push — create a new idea