Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diff --unified set to true by default. #419

Merged
merged 2 commits into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ ecspresso supports `diff` and `verify` subcommands.
Shows differences between local task/service definitions and remote (on ECS) definitions.

```diff
$ ecspresso --config ecspresso.yml diff --unified
$ ecspresso --config ecspresso.yml diff
--- arn:aws:ecs:ap-northeast-1:123456789012:service/ecspresso-test/nginx-local
+++ ecs-service-def.json
@@ -38,5 +38,5 @@
Expand Down
2 changes: 1 addition & 1 deletion cmd/ecspresso/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func _main() int {

diff := kingpin.Command("diff", "display diff for task definition compared with latest one on ECS")
diffOption := ecspresso.DiffOption{
Unified: diff.Flag("unified", "display diff in unified format").Bool(),
Unified: diff.Flag("unified", "display diff in unified format").Default("t").Bool(),
}

appspec := kingpin.Command("appspec", "output AppSpec YAML for CodeDeploy to STDOUT")
Expand Down