utkuozdemir / pv-migrate

CLI tool to easily migrate Kubernetes persistent volumes
Apache License 2.0
1.56k stars 76 forks source link

bash completion only working for pv-migrate, not for the kubectl plugin #289

Open johanneskastl opened 5 months ago

johanneskastl commented 5 months ago

Describe the bug The bash completion is working, but only if the tool is being called as pv-migrate, not when being used as a kubectl plugin.

To Reproduce Steps to reproduce the behavior:

  1. Install pv-migrate as well as kubectl-pv_migrate
  2. Type pv-migrate followed by a space and TAB TAB => bash completion
  3. Type kubectl pv-migrate followed by a space and TAB TAB => list of files and directories in current directory

Expected behavior It would be nice if the completion worked for both types of usage.

Version