add line in yaml file using sed code example
Example: add line in yaml file using sed
sed -i "/callbacks:$/a\
\ - 'https://d1.example.com/callback'" a.yaml
sed -i "/callbacks:$/a\
\ - 'https://d1.example.com/callback'" a.yaml