Summary
The profile, auth, and store list/show commands still use mostly flat text output, even though the rest of the CLI already uses go-pretty tables successfully for snapshots and key slots.
Problem
Current output is readable for very small configs, but it becomes harder to scan as soon as users have multiple stores, auth entries, and profiles. It also hides useful derived information such as reference health, usage counts, and provider/store types.
Proposal
Upgrade these commands to use structured table-based output and lightweight color-coded health/status indicators.
list commands
- render
store list, auth list, and profile list as tables
- include derived columns such as:
- usage counts
- store/auth type
- auth mode
- profile health/status
- keep status color restrained and semantic:
- green for healthy
- yellow for warnings/disabled
- red for broken references or invalid config
show commands
- render
store show, auth show, and profile show as grouped inspection views
- use small key/value tables for:
- primary identity/details
- resolved references
- credential reference details
- usage by profiles
- optional warnings
Why this matters
This would make config inspection feel much more polished and trustworthy, especially as workstation onboarding and profile-driven workflows become more important.
Implementation notes
- reuse the existing
github.com/jedib0t/go-pretty/v6/table dependency already used elsewhere in the CLI
- keep machine-unfriendly formatting contained to human-oriented commands
- preserve scriptability later with optional
--json output if needed
Nice follow-ups
- TTY-aware color disabling
- optional compact/wide modes
--json support for config inspection commands
Summary
The
profile,auth, andstorelist/showcommands still use mostly flat text output, even though the rest of the CLI already usesgo-prettytables successfully for snapshots and key slots.Problem
Current output is readable for very small configs, but it becomes harder to scan as soon as users have multiple stores, auth entries, and profiles. It also hides useful derived information such as reference health, usage counts, and provider/store types.
Proposal
Upgrade these commands to use structured table-based output and lightweight color-coded health/status indicators.
listcommandsstore list,auth list, andprofile listas tablesshowcommandsstore show,auth show, andprofile showas grouped inspection viewsWhy this matters
This would make config inspection feel much more polished and trustworthy, especially as workstation onboarding and profile-driven workflows become more important.
Implementation notes
github.com/jedib0t/go-pretty/v6/tabledependency already used elsewhere in the CLI--jsonoutput if neededNice follow-ups
--jsonsupport for config inspection commands