Skip to content

nrepo edit

Terminal window
nrepo edit <id> [options]

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.

FlagTypeDefaultDescription
--title <title>string(unchanged)Set a new title.
--body <body>string(unchanged)Set a new body. Supports Markdown.
--jsonboolean(see auth)Output as JSON.
--humanboolean(see auth)Output as human-readable text.
Terminal window
nrepo edit 42 --title "Add dark mode and theme picker"
Terminal window
nrepo edit 42 --body "Use CSS custom properties for theming. Support system preference detection."
Terminal window
nrepo edit 42 \
--title "Theme system v2" \
--body "Complete redesign of the theming layer with dark mode support."

On success the CLI prints the updated idea summary. With --json, the full updated idea object is returned.