graphql-engine/cli/commands
Kali Vara Purushotham Santhati c6d47a7db3 cli: use server metadata as base for comparison in metadata diff
Reference: https://hasurahq.slack.com/archives/C024GF6FCTH/p1629193174042700

Problem: The `metadata diff` is conventional where it takes the project metadata and w.r.t to the signs `---`, `+++`, it shows the diff output but it is not similar to git diff as taking the remote repo as base and `+` denotes it has, `-` not. So make the metadata diff output follow as git diff output

Solution: To change the order of arguments in diff function and assign `---` to server,`+++` to project, so that it will be similar to prev diff output

https://github.com/hasura/graphql-engine-mono/pull/2166

GitOrigin-RevId: bf35b5a3ef835fc64f590b65160c01c9a8c1382a
2021-08-24 03:25:05 +00:00
..
testdata cli: use absolute path of project directory 2021-07-16 12:59:04 +00:00
actions_codegen_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
actions_codegen.go cli: update go.mod 2021-06-16 11:45:07 +00:00
actions_create_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
actions_create.go cli: update go.mod 2021-06-16 11:45:07 +00:00
actions_use_codegen_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
actions_use_codegen.go cli: update go.mod 2021-06-16 11:45:07 +00:00
actions.go cli: update go.mod 2021-06-16 11:45:07 +00:00
commands_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
completion.go cli: update go.mod 2021-06-16 11:45:07 +00:00
console.go cli: update go.mod 2021-06-16 11:45:07 +00:00
docs.go cli: update go.mod 2021-06-16 11:45:07 +00:00
help.go cli: fix inconsistent metadata object list rendering 2021-07-16 05:26:47 +00:00
init.go cli: update go.mod 2021-06-16 11:45:07 +00:00
metadata_apply_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
metadata_apply.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
metadata_clear_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
metadata_clear.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
metadata_diff_test.go cli: use server metadata as base for comparison in metadata diff 2021-08-24 03:25:05 +00:00
metadata_diff.go cli: use server metadata as base for comparison in metadata diff 2021-08-24 03:25:05 +00:00
metadata_export_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
metadata_export.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
metadata_inconsistency_drop_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
metadata_inconsistency_drop.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
metadata_inconsistency_list_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
metadata_inconsistency_list.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
metadata_inconsistency_status_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
metadata_inconsistency_status.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
metadata_inconsistency.go cli: update go.mod 2021-06-16 11:45:07 +00:00
metadata_reload_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
metadata_reload.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
metadata.go cli: update go.mod 2021-06-16 11:45:07 +00:00
migrate_apply_test.go cli: fix query endpoint construction 2021-08-09 08:41:16 +00:00
migrate_apply.go cli: improve cli package error propogation in migrate operations 2021-08-16 06:44:05 +00:00
migrate_create_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
migrate_create.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
migrate_delete_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
migrate_delete.go cli: add server flag to migrate delete and modify the docs for resetting migrations 2021-06-22 11:16:14 +00:00
migrate_squash_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
migrate_squash.go cli: update go.mod 2021-06-16 11:45:07 +00:00
migrate_status_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
migrate_status.go cli: fix inconsistent metadata object list rendering 2021-07-16 05:26:47 +00:00
migrate.go cli: migrate create gives warning if database isn't connected to server 2021-06-21 13:55:09 +00:00
plugins_install.go cli: update go.mod 2021-06-16 11:45:07 +00:00
plugins_list.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
plugins_uninstall.go cli: update go.mod 2021-06-16 11:45:07 +00:00
plugins_upgrade.go cli: update go.mod 2021-06-16 11:45:07 +00:00
plugins.go cli: update go.mod 2021-06-16 11:45:07 +00:00
root.go cli: make cli-ext to be usable in the cli library 2021-06-27 13:50:20 +00:00
scripts_update_config_v2_test.go cli: use absolute path of project directory 2021-07-16 12:59:04 +00:00
scripts_update_config_v2.go cli: refactor metadata object interface 2021-07-23 09:50:36 +00:00
scripts_update_config_v3_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
scripts_update_config_v3.go cli: update go.mod 2021-06-16 11:45:07 +00:00
scripts.go cli: update go.mod 2021-06-16 11:45:07 +00:00
seed_apply_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
seed_apply.go cli: add support for citus sources 2021-06-21 14:35:00 +00:00
seed_create_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
seed_create.go cli: add support for citus sources 2021-06-21 14:35:00 +00:00
seed.go cli: update go.mod 2021-06-16 11:45:07 +00:00
update-cli.go cli: update go.mod 2021-06-16 11:45:07 +00:00
version.go cli: fix inconsistent metadata object list rendering 2021-07-16 05:26:47 +00:00