Update USAGE.md with show sections/children details and update --section example
This commit is contained in:
5
USAGE.md
5
USAGE.md
@@ -52,10 +52,12 @@ memory query "user service" --limit 5 --format json
|
|||||||
|
|
||||||
### `memory show <id>`
|
### `memory show <id>`
|
||||||
|
|
||||||
Show a node's full details and its connections. The `<id>` can be a full UUID or a unique prefix.
|
Show a node's full details, structured sections, inline children, and connections. The `<id>` can be a full UUID or a unique prefix.
|
||||||
|
|
||||||
Each call to `show` updates the node's `lastAccessedAt` timestamp, which affects freshness scoring.
|
Each call to `show` updates the node's `lastAccessedAt` timestamp, which affects freshness scoring.
|
||||||
|
|
||||||
|
If the node has `metadata.sections`, they render as labeled blocks. If the node has outgoing `contains` edges, children are listed inline before other connections.
|
||||||
|
|
||||||
| Argument / Option | Required | Description |
|
| Argument / Option | Required | Description |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `<id>` | yes | Node ID or unique prefix |
|
| `<id>` | yes | Node ID or unique prefix |
|
||||||
@@ -105,6 +107,7 @@ Update an existing node's fields.
|
|||||||
memory update abc123 --status done
|
memory update abc123 --status done
|
||||||
memory update abc123 -t "Updated title" -c "New content"
|
memory update abc123 -t "Updated title" -c "New content"
|
||||||
memory update abc123 --tags newtag1,newtag2
|
memory update abc123 --tags newtag1,newtag2
|
||||||
|
memory update abc123 --section "Notes: Updated implementation notes"
|
||||||
```
|
```
|
||||||
|
|
||||||
### `memory remove <id>`
|
### `memory remove <id>`
|
||||||
|
|||||||
Reference in New Issue
Block a user