github suzuki-shunsuke/github-comment v2.2.0

latest releases: v6.0.4, v6.0.3, v6.0.3-1...
3 years ago

Changelog

v2.1.0...v2.2.0
milestone

Features

#202 #203 feat: remove color escape sequence

Example

$ github-comment exec -- terraform plan -detailed-exitcode

Of course we know the option -no-color of terraform plan.
This is just example.

AS IS

�[0m�[1mRefreshing Terraform state in-memory prior to plan...�[0m
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
�[0m
�[0m�[1mnull_resource.foo: Refreshing state... [id=3982188145624120504]�[0m

------------------------------------------------------------------------

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  �[32m+�[0m create
  �[31m-�[0m destroy
�[0m
Terraform will perform the following actions:

�[1m  # null_resource.bar�[0m will be created�[0m�[0m
�[0m  �[32m+�[0m�[0m resource "null_resource" "bar" {
      �[32m+�[0m �[0m�[1m�[0mid�[0m�[0m = (known after apply)
    }

�[1m  # null_resource.foo�[0m will be �[1m�[31mdestroyed�[0m�[0m
�[0m  �[31m-�[0m�[0m resource "null_resource" "foo" {
      �[31m-�[0m �[0m�[1m�[0mid�[0m�[0m = "3982188145624120504" �[90m->�[0m �[0m�[90mnull�[0m�[0m
    }

�[0m�[1mPlan:�[0m 1 to add, 0 to change, 1 to destroy.�[0m

------------------------------------------------------------------------

Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.

TO BE

Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

null_resource.foo: Refreshing state... [id=3982188145624120504]

------------------------------------------------------------------------

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create
  - destroy

Terraform will perform the following actions:

  # null_resource.bar will be created
  + resource "null_resource" "bar" {
      + id = (known after apply)
    }

  # null_resource.foo will be destroyed
  - resource "null_resource" "foo" {
      - id = "3982188145624120504" -> null
    }

Plan: 1 to add, 0 to change, 1 to destroy.

------------------------------------------------------------------------

Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.

Don't miss a new github-comment release

NewReleases is sending notifications on new releases.