A kubectl wrapper applying syntax highlighting to kubectl output.
- Install
highlight
. - Create a file named
kubectl-prettify
somewhere on your$PATH
. - Copy the script contents into the new file.
- Make the new file executable:
chmod +x /usr/bin/kubectl-prettify
. - Verify correct installation with
kubectl plugins list
. - (Optional) Alias:
alias kubectl="kubectl prettify"
.
System | Support |
---|---|
Linux | ✓ |
OSX | ✗ |
Windows | ✗ |