Features
#194 #654 Support outputting the result to a local 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
When a specified file doesn't exist, the file is created.
When the file already exist, the file content is overwritten.
Metadata isn't embedded.