Skip to content

Commit 5dfa304

Browse files
committed
docs: update xs command references for 0.9 API
1 parent b8ed785 commit 5dfa304

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -490,21 +490,21 @@ $ http-nu :3001 --store ./store ./serve.nu
490490

491491
**Commands available in handlers:**
492492

493-
| Command | Description |
494-
| --------- | ------------------------------------------------ |
495-
| `.cat` | Read frames (`-f` follow, `-t` tail, `-T` topic) |
496-
| `.head` | Get latest frame for topic (`--follow` stream) |
497-
| `.append` | Write frame to topic (`--meta` for metadata) |
498-
| `.get` | Retrieve frame by ID |
499-
| `.remove` | Remove frame by ID |
500-
| `.cas` | Content-addressable storage operations |
501-
| `.id` | Generate/unpack/pack SCRU128 IDs |
493+
| Command | Description |
494+
| --------- | ----------------------------------------------- |
495+
| `.cat` | Read frames (`-f` follow, `-n` new, `-T` topic) |
496+
| `.last` | Get latest frame for topic (`--follow` stream) |
497+
| `.append` | Write frame to topic (`--meta` for metadata) |
498+
| `.get` | Retrieve frame by ID |
499+
| `.remove` | Remove frame by ID |
500+
| `.cas` | Content-addressable storage operations |
501+
| `.id` | Generate/unpack/pack SCRU128 IDs |
502502

503503
**SSE with store:**
504504

505505
```nushell
506506
{|req|
507-
.head quotes --follow
507+
.last quotes --follow
508508
| each {|frame| $frame.meta | to dstar-patch-element }
509509
| to sse
510510
}

0 commit comments

Comments
 (0)