go-patch icon indicating copy to clipboard operation
go-patch copied to clipboard

Provide simple cli for interpolation

Open ArthurHlt opened this issue 7 years ago • 1 comments

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 ?

ArthurHlt avatar Feb 13 '18 19:02 ArthurHlt

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

bgandon avatar May 13 '18 23:05 bgandon