SimonTheLeg / konf-go

konf is a lightweight kubeconfig manager. With konf you can use different kubeconfigs at the same time. And because it does not need subshells, konf is blazing fast!
Apache License 2.0
168 stars 12 forks source link

Import kubeconfigs under a directory #43

Closed rumstead closed 2 years ago

rumstead commented 2 years ago

Be able to import all kube configs under a directory

SimonTheLeg commented 2 years ago

That is a good idea.

I think, I will implement it similar to the current konf delete, which allows a file glob to match multiple files. An then something like konf import . or konf import /path/to/my/dir will be possible

SimonTheLeg commented 2 years ago

okay this should work now. When you supply a directory to konf import, it will import all files in that directory (excl. hidden ones of course)