Inline command aliases in help view#240
Merged
Merged
Conversation
Collaborator
Collaborator
clangenb
approved these changes
Feb 18, 2026
Collaborator
|
I would add a space after the frame | |
Collaborator
Good point, I will add it as a quick fix, but I have bigger goals in the future: #243 |
Aliases (e.g. ctx, context) no longer appear as separate rows in :help. Instead they are grouped with their primary command and shown inline: :contexts List and switch Docker contexts aliases: context, ctx Co-Authored-By: Claude Opus 4.6 <[email protected]>
Replace inline "aliases: ..." suffix with a proper COMMAND / DESCRIPTION / ALIASES table with dynamically computed column widths. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Use lipgloss bold+blue (color 33, matching categorized help keys) for the COMMAND/DESCRIPTION/ALIASES header. Add 3-space gaps between columns for readability. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
29d4190 to
3d0b8a8
Compare
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
ctx,context) no longer appear as separate rows in:helpAliaserinterface to registry so alias commands can self-identifyTest plan
go build ./...go vet ./...go test ./registry/ ./commands/command/ ./views/help/— all pass:helpoutput renders aligned table with blue headerCloses #191
🤖 Generated with Claude Code