Pull Requests | Issues | v4.1.0...v4.2.0
Features
#194 #654 #662 Support outputting the result to a local file @NikitaCOEUR 🎉 New Contributor
https://suzuki-shunsuke.github.io/tfcmt/output-file
A command line option --output
has been added.
If this option is set, tfcmt
outputs the result to a local file instead of posting a comment to GitHub pull request.
tfcmt plan:
$ tfcmt --output plan.md plan -- terraform plan
tfcmt apply:
$ tfcmt --output apply.md apply -- terraform apply
If a specified file doesn't exist, the file is created.
If the file already exist, the file content is appended.
💡 If you want to overwrite the file content instead of appending, please make the file empty before running tfcmt.
e.g.
: > plan.md # Make the file empty
tfcmt --output plan.md plan -- terraform plan
Metadata isn't embedded.