yh
yh copied to clipboard
YAML syntax highlighter to bring colours to kubectl output
Input: ```yaml spec: # comment1 progressDeadlineSeconds: 600 # comment2 replicas: 3 # comment3 revisionHistoryLimit: 10 ``` Output:
It's a bit odd that comments don't have a different color. Oddly enough, the code is there to make it happen but it's not working https://github.com/andreazorzetto/yh/blob/df5758bf193e791514f81f7b6f87e8536117f0b7/highlight/highlight.go#L114-L116 If there's any interest...
Somehow I cant get the output of `kustomize` get highlighted: `kustomize build k8s/kustomize/overlays/dev | yh` output: `zsh: command not found: yh` but using with kubectl works: `kubectl get all -o...
Hi, Is it possible to provide arm builds as part of the releases?
Given the following test file: ```yaml test: passed anotherTest: failed ``` The expected output should contain the empty line between the two keys. Bu the actual output is: ``` test:...
This is great, would like to see a Homebrew install, thanks.
It would be great to make the color scheme configurable, so it's possible to use e.g. the same color scheme which `vim` uses. The alternative is to use vim directly,...
Thanks for this nice little utility. It would be great if we can use this as a kubectl plugin.