jk icon indicating copy to clipboard operation
jk copied to clipboard

Accept input to `jk validate` on stdin

Open squaremo opened this issue 4 years ago • 1 comments

It'd be handy to be able to pipe things into jk validate (et al?).

squaremo avatar Feb 20 '20 20:02 squaremo

This would probably need to default to YAMLStream, and take a flag which forces it to a particular format.

curl -L https://raw.github.com/some/random/kubernetes.yaml | jk validate --format yamls ./ok.js -

squaremo avatar Mar 11 '20 08:03 squaremo