yq

Jmnote (토론 | 기여)님의 2024년 2월 19일 (월) 11:50 판 (→‎개요)

1 개요

yq
  • 경량·포터블 커맨드라인 YAML 처리기


$ cat null.yaml 
foo:
  bar: null
$ cat null.yaml | yq .foo
bar: null
$ cat null.yaml | yq .foo.bar
null
$ kubectl get ns kube-system -oyaml | yq .status.phase
Active

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}