Skip to content

nrepo pull

Terminal window
nrepo pull <id> [options]

nrepo pull exports an idea and its full context to local files. It always writes IDEA.md (the idea content) and .neuralrepo (sync metadata). If the idea has related ideas, CONTEXT.md is also written; if it has external links, RELATED.md is written. Use --to to specify a different output directory.

When --json is passed, no files are written. Instead the full idea data is printed to stdout, which is useful for piping into other tools.

FlagTypeDefaultDescription
--to <dir>string. (current directory)Directory to write exported files into.
--jsonbooleanfalsePrint idea data as JSON instead of writing files.
--humanbooleantrueOutput as human-readable text (default).
Terminal window
nrepo pull 42
# Writes: IDEA.md, CONTEXT.md, RELATED.md, .neuralrepo
Terminal window
nrepo pull 42 --to ./exports
# Writes: ./exports/IDEA.md, ./exports/CONTEXT.md, ./exports/RELATED.md, ./exports/.neuralrepo
Terminal window
nrepo pull 42 --json | jq '.body'
FileContents
IDEA.mdThe idea title, status, source, tags, creation date, source URL, and body in Markdown format.
CONTEXT.mdRelated ideas with relation types and similarity scores.
RELATED.mdExternal links attached to the idea with titles.
.neuralrepoSync metadata: idea ID, API URL, and pull timestamp (JSON).