yq

(리눅스 yq에서 넘어옴)

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 }}