Skip to content

Disable cobra's default completion command on the cloud root - #74

Merged
anekkanti merged 3 commits into
mainfrom
tasha/disable-completion-command
Jun 3, 2026
Merged

anekkanti merged 3 commits into
mainfrom
tasha/disable-completion-command

Conversation

@tlalfano

@tlalfano tlalfano commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Disable cobra's auto-injected completion subcommand on the temporal cloud root.

Why

The default completion command needs further updates before it can generate working shell completions for extension subcommands (e.g. temporal cloud ...). Disabling it for now until that work lands.

Test plan

  • make all passes locally
  • temporal cloud --help no longer lists completion
  • CI green

🤖 Generated with Claude Code

tlalfano and others added 2 commits June 2, 2026 08:35
Cobra auto-injects a `completion` subcommand on every root command unless
suppressed. The cloud plugin is invoked as `temporal cloud ...`, so shell
completion belongs to the parent `temporal` CLI, not this plugin.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The default cobra completion command needs further updates to produce
working shell completions for extension subcommands; clarify that's the
reason it's disabled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tlalfano
tlalfano requested a review from a team as a code owner June 2, 2026 13:38
@anekkanti
anekkanti merged commit 37fed56 into main Jun 3, 2026
5 checks passed
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.

2 participants