k8s config list.
npm i -g @jswork/kube-config-list
Usage: kube-config-list [options]
Options:
-V, --version output the version number
-b, --boot Create "boot.sh" to ~/.kube dir (default: false)
-h, --help display help for command
# create boot.sh file
kube-config-list -b
# add alias to .bashrc/.zshrc
alias kcl="kube-config-list && source ~/.kube/boot.sh";
Code released under the MIT license.