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

Generate completion script dynamic #3360

Open
1 task done
Zheaoli opened this issue Dec 26, 2024 · 0 comments
Open
1 task done

Generate completion script dynamic #3360

Zheaoli opened this issue Dec 26, 2024 · 0 comments
Labels
⭐ enhancement Improvements for existing features

Comments

@Zheaoli
Copy link
Contributor

Zheaoli commented Dec 26, 2024

Feature Description

For now, we have a static template file for shell completion. But it does not work for the plugin and the script we define in the config file.

Problem and Solution

Maybe we can generate the completion file dynamic? just like we do in https://github.com/spf13/cobra/blob/main/completions.go

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.
@Zheaoli Zheaoli added the ⭐ enhancement Improvements for existing features label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features
Projects
None yet
Development

No branches or pull requests

1 participant