@lotics/cli 0.315.14 → 0.315.17
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.md +3 -1
- package/dist/src/cli.js +2037 -1975
- package/docs/cli_reference.md +3 -2
- package/docs/knowledge_docs.md +19 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -293,7 +293,9 @@ lotics knowledge create --name "Shipping tariffs" \
|
|
|
293
293
|
--from ./tariffs.md # or --content '<inline>'; prints the new id
|
|
294
294
|
lotics knowledge get kdc_... -o ./tariffs.md # body → file (omit -o for stdout; --json = full doc)
|
|
295
295
|
lotics knowledge update kdc_... --from ./tariffs.md # send only what changed (--name / --description too)
|
|
296
|
-
lotics knowledge rm kdc_...
|
|
296
|
+
lotics knowledge rm kdc_... [kdc_...] # delete; sharing and history are kept
|
|
297
|
+
lotics knowledge list --deleted # deleted docs you can restore
|
|
298
|
+
lotics knowledge restore kdc_... [kdc_...] # bring them back, all or none
|
|
297
299
|
```
|
|
298
300
|
|
|
299
301
|
`create` / `update` send the body inline; the server mints and version-chains the content file (and `update` diffs + resolves concurrency internally — no token to pass). `get` is the one content-read path, hydrating the body server-side.
|