nats-io / natscli

The NATS Command Line Interface
Apache License 2.0
496 stars 99 forks source link

Improve consumer list #1127

Closed ripienaar closed 2 months ago

ripienaar commented 2 months ago

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 output

Use case

improved ux

Contribution

No response