mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 02:09:51 +00:00
kubectl: add wrappers for colorized output in JSON and YAML (#9316)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
@@ -106,3 +106,11 @@ plugins=(... kubectl)
|
||||
| kdelss | `kubectl delete statefulset` | Delete the statefulset |
|
||||
| ksss | `kubectl scale statefulset` | Scale a statefulset |
|
||||
| krsss | `kubectl rollout status statefulset`| Check the rollout status of a deployment |
|
||||
|
||||
## Wrappers
|
||||
|
||||
This plugin provides 3 wrappers to colorize kubectl output in JSON and YAML using various tools (which must be installed):
|
||||
|
||||
- `kj`: JSON, colorized with [`jq`](https://stedolan.github.io/jq/).
|
||||
- `kjx`: JSON, colorized with [`fx`](https://github.com/antonmedv/fx).
|
||||
- `ky`: YAML, colorized with [`yh`](https://github.com/andreazorzetto/yh).
|
||||
|
||||
Reference in New Issue
Block a user