Skip to content

Extend PrettyTableFormatter to all remaining list commands #8145

@wbreza

Description

@wbreza

Summary

Follow-up from #7287 and #8091. The responsive PrettyTableFormatter was introduced for azd ext list — this issue tracks extending it to all remaining list-style commands for consistent, responsive table output across the CLI.

As noted by @hyoshis in #7287:

Note for myself: check extension, templates and tools list table format.

Commands to Upgrade

Command Columns Key Benefit
azd ext source list 3 Location URLs overflow at narrow widths
azd tool list 6 Status color coding + category grouping
azd tool check 5 Update available color coding + symbols
azd template list 3 Repository Path URLs overflow (see #2198)
azd template source list 4 Location URLs/paths overflow
azd copilot consent list 6 Permission color coding + scope grouping
azd config options 7 Most columns; severe overflow on standard terminals

Acceptance Criteria

  • All 7 commands use PrettyTableFormatter with appropriate column priorities
  • Color-coded status/permission values where applicable
  • Card-mode grouping by natural category columns
  • Short value templates for compact mode where beneficial
  • JSON output unchanged
  • Existing tests updated and passing

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/uxUX, prompts, output formattingenhancementNew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions