summaryrefslogtreecommitdiff
path: root/internal/repl/repl_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 16:38:48 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 16:38:48 +0200
commitfc77bacb493c4a82147bc3d4610ebabf8c85d555 (patch)
tree4b401f1b3e451aaf9e2c5ac8e084ccde46385e5e /internal/repl/repl_test.go
parent7ad5624a46eb73f1933c2324a7f65e38e3305711 (diff)
refactor: Consolidate REPL command descriptions to single source
- Removed duplicate getCommandDescription function from completer.go - Added package-level getCommandDescription in repl.go as single source of truth - Updated defaultGetCommandDescription to delegate to getCommandDescription - Created minimal completer.go that uses getCommandDescription for test compatibility Command descriptions are now defined only once, eliminating duplication between the original completer.go and defaultGetCommandDescription in repl.go. The refactoring maintains: - Backward compatibility (tests still work) - Consistent descriptions across the codebase - Single source of truth for command descriptions
Diffstat (limited to 'internal/repl/repl_test.go')
0 files changed, 0 insertions, 0 deletions