summaryrefslogtreecommitdiff
path: root/query-doc.txt
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-02 12:36:54 -0300
committerGabriel Schneider <[email protected]>2026-08-02 17:37:58 -0300
commite16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb (patch)
treede0db0c369522b5bf92ff32a8351de2224c5c9dc /query-doc.txt
parent151ea12251ed876aa87bb486da1bc337e25369e9 (diff)
downloadnotevi-e16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb.tar.gz
notevi-e16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb.zip
Diffstat (limited to 'query-doc.txt')
-rw-r--r--query-doc.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/query-doc.txt b/query-doc.txt
index 7c0cfdc..8d4f58a 100644
--- a/query-doc.txt
+++ b/query-doc.txt
@@ -1,12 +1,14 @@
-vr query — inspect the read/note log (one line per entry, oldest first).
+vr query — inspect this jj repo's read/note sidecar (oldest first).
vr query everything
vr query -n 20 last 20 entries
vr query -op note only notes (or: read, grep)
vr query -file accounts_db entries touching a file path substring
vr query -session fa7cb1bf one session (id substring is enough)
- vr query -log FILE read another log (default ./vr-log.jsonl, or $VR_LOG)
-Filters combine. The log itself is plain JSON lines — jq works on it too.
+Filters combine. The sidecar content is JSON lines and can also be read with:
+ jj file show -r 'exactly(vr_log, 1)' -- vr-log.jsonl
+Its append history is:
+ jj evolog -r 'exactly(vr_log, 1)' --reversed -p --git
Note rows show the session-local id first and the log-wide id used by
`vr note -reply N` and vrsite permalinks in brackets.