-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
refactorRefactoring existing code.Refactoring existing code.
Description
Extract command names and descriptions into a single commandDescriptions slice and add a renderCommandList() helper function.
This eliminates the duplication where the command list appeared twice. Once in the help menu and again in the invalid command error message. Adding or removing commands now only requires updating one location.
Metadata
Metadata
Assignees
Labels
refactorRefactoring existing code.Refactoring existing code.
Projects
Status
Completed