yaml-pipe
Install
pip install yaml-pipe
How to use
example1
sample.yml
---
foo:
bar: BAR
cat sample.yml | yaml-pipe foo.bar="bar"
output
---
foo:
bar: bar
example2
sample.yml
---
foo:
bar: BAR
---
fizz:
buzz: BUZZ
cat sample.yml | yaml-pipe --block_id 1 fizz.buzz="buzz"
output
---
foo:
bar: BAR
---
fizz:
buzz: buzz