helm-ssm icon indicating copy to clipboard operation
helm-ssm copied to clipboard

[CY-2854] add --target-file option to allow output to a different file name

Open tugtugtug opened this issue 4 years ago • 2 comments

Problem: -f option specifies the support of multiple files, thus the -o (target-dir) option makes sense. However, it is also desirable in certain use cases, where the user wants the input files to be processed and saved into a single file with a different file name. This is essentially what -v | tee <file> does, however there are caveats with piping the output of helm. The most annoying one is that helm prints warnings of various checks into the same stdout/stderr and will pollute the ssm -v output.

Request: add --target-file option to allow output the processed values into a single file.

tugtugtug avatar Sep 19 '20 02:09 tugtugtug

Internal ticket created : CY-2854

github-actions[bot] avatar Sep 19 '20 02:09 github-actions[bot]

Hey @tugtugtug we will not prioritise this, but please fell free to add your contribution without changing the default behaviour!

machadoit avatar Sep 22 '20 17:09 machadoit