Skip to content

feat: add --completion flag #2695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PeterCardenas
Copy link

@PeterCardenas PeterCardenas commented Mar 17, 2025

adds a --completion flag to generate shell completion scripts builtin to
cobra. this includes completion for the --completion flag itself.

also allows for unused variables to be prefixed with an underscore instead of only allowed to be _ and disallows files as completion

closes: #2251

adds a --completion flag to generate shell completion scripts builtin to
cobra. this includes completion for the --completion flag itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shell completion
1 participant