feat(cli): add type column to namespace list output#6197
feat(cli): add type column to namespace list output#6197gustavosbarreto merged 2 commits intomasterfrom
Conversation
Add a TYPE column to the namespace list table output, displaying each namespace's type (e.g. team, personal) alongside its name and tenant ID. This allows users to categorically identify namespaces at a glance without having to inspect each one individually.
|
Claude finished @geovannewashington's task in 2m 31s —— View job Code Review CompleteReviewed 2 files across code quality, security, testing, Go patterns, and architecture — 1 inline issue posted (medium severity). The TYPE column addition to If you've addressed the feedback and want a new review, tag |
Add the ls alias to the user list command for consistency with the namespace list command, which already exposes this alias.
1620d5a to
7e40665
Compare
|
/review |
|
Claude finished @gustavosbarreto's task in 1m 56s —— View job Code Review CompleteReviewed 2 files across code quality, security, testing, Go patterns, and architecture — no issues found. The code looks good as-is. If you push additional changes and want a new review, tag |
What changed?
Added a TYPE column to the
namespace lstable output. Also addedthe
lsalias to theuser listcommand for consistency.Why
Users need to quickly identify and categorize namespaces (e.g. team
vs personal) at a glance without having to inspect each one. The
lsalias onuser listwas missing despite being available onnamespace list.Notes
-q typewas intentionally not added. Quiet mode is designed forcommand substitution targeting a specific namespace (e.g. piping
into
inspect), which requires a unique identifier. Since type isshared across many namespaces, it doesn't serve that purpose.
How to test
./bin/cli namespace listor./bin/cli namespace lstoverify the TYPE column appears in the table output
./bin/cli user listor./bin/cli user lsto verify thealias works
Closes #6190