cppforlife / go-patch

MIT License
22 stars 14 forks source link

Provide simple cli for interpolation #12

Open ArthurHlt opened 6 years ago

ArthurHlt commented 6 years ago

This is more actually a question but I was wondering why go-patch is only a library and doesn't provide a simple cli to do interpolation as we can do on bosh cli v2 ?

This is pretty useful to have it outside of bosh cli to use it for any yaml file (i'm actually thinking about fly cli) and interpolate command seems quite untied to the bosh cli.

We can obviously use interpolate command through bosh cli to perform patch on yml file but doesn't have much sense to have this dependencies on something which is not bosh.

Any reasons to don't have this kind of cli ? Will it be appreciate to have a PR to add one ?

bgandon commented 6 years ago

People from the PCF pipelines do use the yaml-patch CLI for such use-case. See the customizing the pipelines section of their README.