Redesign CLI output with pipe border format#76
Merged
erdembircan merged 5 commits intomasterfrom Mar 3, 2026
Merged
Conversation
Replace standalone positive/negative/section/divider functions with a static FormatOutput class using pipe border design (Design D). The class provides header(), footer(), positive(), and negative() methods with box-drawing characters for visual grouping.
Replace section() loop with FormatOutput.header() before and FormatOutput.footer() after each plugin operation. Use static class methods for positive/negative output lines.
Replace format-output.test.ts with FormatOutput.test.ts. Tests now verify the static class methods (header, footer, positive, negative) instead of the removed standalone functions.
Replace section/divider assertions with FormatOutput.header() and FormatOutput.footer() checks. Update import from format-output to FormatOutput.
erdembircan
commented
Mar 3, 2026
Owner
Author
erdembircan
left a comment
There was a problem hiding this comment.
Display Claude Code version output with version check header instead of printing the line whether it is positive or negative for version check.
Display the Claude Code version check inside a pipe border block with a "version check" header, consistent with the per-plugin output format.
Owner
Author
|
[agent] Addressed the review feedback: the version check output is now wrapped in its own pipe border block with a "version check" header/footer, consistent with the per-plugin output format. Before: After: Both the success and not-found cases are covered. Two new tests were added to verify the header/footer wrapping for each path. All 130 tests pass. |
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.
[agent]
Summary
Closes #75
format-output.tsfunctions with a staticFormatOutputclass inFormatOutput.ts┌,│,└─)PluginRescope.tsto useFormatOutput.header()/FormatOutput.footer()instead ofsection()/divider()Output format