feat: erase stale fish completions and add completion tests #29

Merged
michal merged 1 commits from feat/completions-stale-erase-and-tests into main 2026-02-23 19:17:01 +00:00
Owner

Summary

  • Fix stale fish completions by adding complete -c mcpctl -e at top (fish completions are additive — new file doesn't remove old rules)
  • Add 12 structural tests for fish and bash completion files to prevent regressions

Test plan

  • All 281 CLI tests pass including 12 new completion tests
## Summary - Fix stale fish completions by adding `complete -c mcpctl -e` at top (fish completions are additive — new file doesn't remove old rules) - Add 12 structural tests for fish and bash completion files to prevent regressions ## Test plan - [x] All 281 CLI tests pass including 12 new completion tests
michal added 1 commit 2026-02-23 19:16:55 +00:00
feat: erase stale fish completions and add completion tests
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / typecheck (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / package (pull_request) Has been cancelled
f23dd99662
Fish completions are additive — sourcing a new file doesn't remove old
rules. Add `complete -c mcpctl -e` at the top to clear stale entries.
Also add 12 structural tests to prevent completion regressions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
michal merged commit 7b7854b007 into main 2026-02-23 19:17:01 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: michal/mcpctl#29