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

Completion subcommand for kubectl-moco #354

Open
4 tasks
ymmt2005 opened this issue Dec 6, 2021 · 1 comment
Open
4 tasks

Completion subcommand for kubectl-moco #354

ymmt2005 opened this issue Dec 6, 2021 · 1 comment

Comments

@ymmt2005
Copy link
Member

ymmt2005 commented Dec 6, 2021

What

This is not possible for the time being.
ref: kubernetes/kubernetes#105867

spf13/cobra can auto-generate shell completion rules, so add completion
subcommand to kubectl-moco for Bash, Zsh, PowerShell, Fish, etc.

Note that it should work when invoked as kubectl moco ....

How

Describe how to address the issue.

Checklist

  • Finish implementation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions
@ymmt2005
Copy link
Member Author

ymmt2005 commented Dec 1, 2022

@masa213f @d-kuro
looks like k8s 1.26 will support completion for kubectl plugins.
https://qiita.com/superbrothers/items/65a16f5139b52e1b9d56

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

No branches or pull requests

1 participant