Skip to content

Commit

Permalink
update readme for diff --external
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Jul 22, 2024
1 parent 85565e3 commit b946b85
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,19 @@ $ ecspresso diff
"options": {
```

v2.4 or later, `ecspresso diff --external` can invoke an external command. You can use the "diff" command you like.

For example, use [difftastic](https://github.com/Wilfred/difftastic) (`difft`) command.

```console
$ ecspresso diff --external "difft --color=always"
$ ECSPRESSO_DIFF_COMMAND="difft --color=always" ecspresso diff
```

The command should exit with status 0. If it exits with a non-zero status when two files differ (for example, `diff(1)`), you need to write a wrapper command.


#### verify

Verify resources related with service/task definitions.
Expand Down

0 comments on commit b946b85

Please sign in to comment.