archiver-ts 0.4.4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +15 -3
  2. package/dist/index.js +1308 -1240
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -37,14 +37,12 @@ Query and maintenance:
37
37
 
38
38
  ```bash
39
39
  arv list [-p|--plain]
40
- arv log [YYYYMM | YYYYMM-YYYYMM | all]
41
- arv log --id <log-id>
40
+ arv log
42
41
  arv config
43
42
  arv update [--repo <owner/repo>] [--install]
44
43
  arv check
45
44
  ```
46
45
 
47
- `arv log` without range now prints all records by default (grep-friendly).
48
46
 
49
47
  ## Interactive config editor
50
48
 
@@ -96,6 +94,20 @@ Examples:
96
94
  2 A work(1)::report.pdf
97
95
  ```
98
96
 
97
+ ## Log output behavior
98
+
99
+ `arv log` always prints all records (no options) in a grep-friendly format.
100
+
101
+ - format: `<logId><TAB><time><TAB><level><TAB><op><TAB><message><TAB><archiveId><TAB><vaultId>`
102
+ - `op` uses `main/sub` when sub operation exists
103
+ - `archiveId` and `vaultId` are empty when not present
104
+
105
+ Example:
106
+
107
+ ```text
108
+ 12\t2026-02-12 10:22:33\tINFO\tarchive/put\tArchived foo.txt\t34\t0
109
+ ```
110
+
99
111
  ## Shell wrapper note
100
112
 
101
113
  On interactive terminal startup, `arv` may auto-install a shell wrapper function so `arv list` interactive `Enter slot` can move your shell to archive slot paths.