nats s ls will show a table by default with some basic information extracted from the stream list api response (in other words no additional API calls per stream). It also have --names and --json formats.
We should make consumer list work the same, in the table being shown:
name
description
created
ack pending
unprocessed
last delivery as a duration
Also make sure --names and --json work.
It's basically a minimal c report so just copy code from there and make a more minimal output
Proposed change
nats s ls
will show a table by default with some basic information extracted from the stream list api response (in other words no additional API calls per stream). It also have--names
and--json
formats.We should make consumer list work the same, in the table being shown:
Also make sure
--names
and--json
work.It's basically a minimal
c report
so just copy code from there and make a more minimal outputUse case
improved ux
Contribution
No response