Open agileman-droid opened 2 years ago
Would be interested in a -color
flag too
Interesting. What is your use case for this?
We are building a custom infrastructure tool which integrates terraform-exec. So for nicer usability and look and feel, we would like colored Terraform output in this tool.
@kmoe we are building a tool which wraps terraform
to load var files or configure backends be conventions:
https://github.com/terrarium-tf/cli
so a colored output just makes things a little bit more "native"
bump - would love this feature.
+1
I don't understand why the --no-color is hardcoded there, it should be an option.
the PR was ready months ago...
Can we resolve this asap?
Any reason why the PR is not merged yet?
Hi guys,
we were wondering if it is possible to enable colored output for the Terraform commands.
We are interested in a colored output of the Terraform plan (in
ShowPlanFileRaw
). However, the showCmd function automatically adds the-no-color
flag. It would be nice if the-no-color
flag could be optionally disabled, resulting in colored command output.Thanks in advance!