Skip to content
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

Allow a default function to argument #900

Closed
wants to merge 1 commit into from

Conversation

chmouel
Copy link

@chmouel chmouel commented Jul 5, 2019

If user add an annotation with the
cobra_annotations_zsh_completion_default_function key and a value to a
function it will be used as a default completion for that command.

If user add an annotation with the
`cobra_annotations_zsh_completion_default_function` key and a value to a
function it will be used as a default completion for that command.

Signed-off-by: Chmouel Boudjnah <chmouel@chmouel.com>
@chmouel
Copy link
Author

chmouel commented Jul 5, 2019

closing since I just saw this, #884

@chmouel chmouel closed this Jul 5, 2019
@chmouel chmouel deleted the deault-completion-function branch July 5, 2019 05:46
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.

1 participant