archiver-ts 0.0.6 → 0.0.8
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.
- package/README.dev.md +1 -2
- package/README.md +6 -5
- package/dist/index.js +1 -2811
- package/package.json +4 -1
- package/dist/index.js.map +0 -1
package/README.dev.md
CHANGED
|
@@ -93,7 +93,7 @@ Current data layout:
|
|
|
93
93
|
|
|
94
94
|
- Archive/restore/move use filesystem rename operations.
|
|
95
95
|
- Default vault is `@` (id `0`) and is protected.
|
|
96
|
-
- `list` plain mode prints
|
|
96
|
+
- `list` plain mode prints `[id] status name`; default vault entries omit vault prefix in the name part.
|
|
97
97
|
- Audit logs are appended into a single file: `log.jsonl`.
|
|
98
98
|
- Auto update check interval is 24h (`src/consts/update.ts`).
|
|
99
99
|
- Shell wrapper install is best-effort and should not block command execution.
|
|
@@ -121,4 +121,3 @@ Useful test focus:
|
|
|
121
121
|
- e2e CLI flow: `tests/e2e/cli.e2e.test.ts`
|
|
122
122
|
- archive/vault workflow: `tests/services/archive-workflow.test.ts`
|
|
123
123
|
- shell wrapper init: `tests/core/initialize.test.ts`
|
|
124
|
-
|
package/README.md
CHANGED
|
@@ -51,17 +51,18 @@ arv check
|
|
|
51
51
|
|
|
52
52
|
## List output behavior
|
|
53
53
|
|
|
54
|
-
`arv list` plain mode prints
|
|
54
|
+
`arv list` plain mode prints one entry per line:
|
|
55
55
|
|
|
56
|
-
-
|
|
57
|
-
-
|
|
56
|
+
- format: `[<archiveId>] <A|R> <display-name>`
|
|
57
|
+
- default vault (`@`, id `0`): `<display-name>` is item name only
|
|
58
|
+
- non-default vault: `<display-name>` is `<vaultName>(<vaultId>)<sep><item>`
|
|
58
59
|
- `<sep>` comes from `config vault-item-sep` (default `::`)
|
|
59
60
|
|
|
60
61
|
Example:
|
|
61
62
|
|
|
62
63
|
```text
|
|
63
|
-
todo.txt
|
|
64
|
-
work(1)::report.pdf
|
|
64
|
+
[0001] A todo.txt
|
|
65
|
+
[0002] A work(1)::report.pdf
|
|
65
66
|
```
|
|
66
67
|
|
|
67
68
|
## Shell wrapper note
|