Skip to content
NeuralRepo
Get Support

nrepo move

Terminal window
nrepo move <id> <status> # one idea
nrepo move <status> --ids <ids> # many ideas

Which mode you get depends on --ids, not on the arguments: with --ids present the first positional argument is read as the status, without it as the id.

Valid statuses: captured, exploring, building, shipped, shelved.

FlagTypeDefaultDescription
--ids <ids>string(none)Comma-separated idea IDs. Switches the command into bulk mode.
--jsonbooleanfalseOutput as JSON.
--humanbooleanForce human-readable output. Wins over --json.

Passing neither a second positional argument nor --ids prints the usage line and exits 1:

Usage: nrepo move <id> <status> or nrepo move <status> --ids 1,2,3

An unknown status is rejected before any request is sent:

Invalid status "done". Must be one of: captured, exploring, building, shipped, shelved
Terminal window
nrepo move 391 building
✓ #42 → building

--json prints the full updated idea.

Terminal window
nrepo move shipped --ids 391,402,417
✓ #391
✓ #402
✗ #417 Idea 417 not found
2 moved to shipped, 1 errors

The per-idea lines print the ID you passed, not the display number the single-idea form echoes. Do not read ✓ #391 as “idea number 391”.

--json returns the raw bulk response:

{
"updated": 2,
"errors": 1,
"results": [
{ "id": 391, "status": "updated" },
{ "id": 402, "status": "updated" },
{ "id": 417, "status": "error", "error": "Idea 417 not found" }
]
}
Terminal window
# Fail a CI step if anything in the batch failed
nrepo move shipped --ids 391,402 --json | jq -e '.errors == 0' > /dev/null
LimitValue
IDs per bulk request50 — more returns 400 Maximum 50 ideas per bulk update
ID parsingNon-numeric and non-positive entries are silently dropped; an empty result exits 1

For more than 50, batch the list yourself:

Terminal window
nrepo log --status captured --json | jq -r '.[].id' \
| xargs -n 50 | tr ' ' ',' \
| while read -r batch; do nrepo move shelved --ids "$batch"; done