feat: redesign discover command with modern list layout#814
Merged
Conversation
Replace the flat table with a two-line-per-entry layout: bold name, version, and date on the first line with a ● bullet; gray description indented on the second line. Also fixes table column spacing for update/rollback commands via printTable padding fix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Format checkbox choices with bold name · version · date and gray description on a second line, matching the list output style. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
🤖 PR Reviewer
The diff makes UI improvements to the discover command (replacing printTable with direct chalk-formatted output), updates table.js spacing logic, and removes libc fields from package-lock.json. The changes are straightforward and the test updates correctly reflect the new two-line-per-plugin output format. One minor concern is the duplication of dateOptions between _install and _list methods.
✅ LGTM! This PR looks good to merge.
💡 How to re-trigger
Comment /review or /pr-reviewer on this PR
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
pru55e11
approved these changes
Apr 28, 2026
MichaelGoberling
approved these changes
Apr 28, 2026
hannah-taub-1
pushed a commit
to hannah-taub-1/aio-cli
that referenced
this pull request
Apr 28, 2026
* feat: redesign discover command output with modern list layout Replace the flat table with a two-line-per-entry layout: bold name, version, and date on the first line with a ● bullet; gray description indented on the second line. Also fixes table column spacing for update/rollback commands via printTable padding fix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: apply list design to interactive install choices Format checkbox choices with bold name · version · date and gray description on a second line, matching the list output style. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aio discoverwith a modern two-line-per-entry layout: boldname · version · dateon the first line, gray description indented on the second--installinteractive checkbox choices (bold name, gray description on second line, cleanshortlabel after selection)printTablecolumn spacing forupdateandrollbackcommands (padding was previously double-applied)Test plan
npm testpasses (53 tests, 100% coverage)aio discovershows the new list layout with bold names and gray descriptionsaio discover -ishows styled checkbox choicesaio plugins:updateandaio plugins:rollbacktable output is unchangedaio discoveraio discover -i🤖 Generated with Claude Code