Skip to content

Add shell completion command (Topic 10)#13

Merged
ygalblum merged 1 commit into
dcm-project:mainfrom
ygalblum:support-autocomplete
Mar 27, 2026
Merged

Add shell completion command (Topic 10)#13
ygalblum merged 1 commit into
dcm-project:mainfrom
ygalblum:support-autocomplete

Conversation

@ygalblum

Copy link
Copy Markdown
Contributor

Implement 'dcm completion [bash|zsh|fish|powershell]' using Cobra's built-in completion generation. Adds a reusable ExactValidArgs helper that combines argument count and value validation with UsageError wrapping.

Includes spec and test plan updates, 7 Ginkgo test specs (TC-U132-TC-U138), README documentation, and checkpoint file.

Implement 'dcm completion [bash|zsh|fish|powershell]' using Cobra's
built-in completion generation. Adds a reusable ExactValidArgs helper
that combines argument count and value validation with UsageError
wrapping.

Includes spec and test plan updates, 7 Ginkgo test specs
(TC-U132-TC-U138), README documentation, and checkpoint file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
@ygalblum ygalblum merged commit 2be4b0e into dcm-project:main Mar 27, 2026
4 checks passed
@ygalblum ygalblum deleted the support-autocomplete branch March 27, 2026 13:19
@ygalblum ygalblum restored the support-autocomplete branch March 27, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants