graphql-engine/cli/commands
Kali Vara Purushotham Santhati 695164b176 cli: misc changes
- Hasura CLI shows metadata diff in YAML for type `json` in directory mode. The expected behaviour is to show the diff in JSON
- The unified-json shows diff in YAML, not in JSON.
- Add new diff type unified-yaml which shows the diff in YAML unified format.
- Check the flag value of type in `hasura metadata diff --type`
- The help text of `seed apply`( `hasura seed apply --file seeds/1234_add_some_seed_data.sql`) should be updated to `hasura seed apply --file 1234_add_some_seed_data.sql --database-name default` and similarly in docs.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3246
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1d16ad9ea4dd366af32498ce878ae132bd239be9
2022-01-12 13:25:22 +00:00
..
testdata cli: revert split remote schema permissions metadata into seperate files 2021-12-14 05:08:08 +00:00
actions_codegen_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
actions_codegen.go cli: defer validating plugins index and actions codegen repo 2021-11-10 09:22:06 +00:00
actions_create_test.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
actions_create.go cli: wrap errors 2021-12-15 17:55:44 +00:00
actions_use_codegen_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
actions_use_codegen.go cli: defer validating plugins index and actions codegen repo 2021-11-10 09:22:06 +00:00
actions.go cli: defer validating plugins index and actions codegen repo 2021-11-10 09:22:06 +00:00
commands_test.go cli: support request_transforms in actions metadata 2021-11-03 06:38:48 +00:00
completion.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
console.go cli: allow specifying api hostname in console command 2021-11-15 07:16:37 +00:00
deploy_test.go cli: add deploy command (close #7349) 2021-09-29 06:15:17 +00:00
deploy.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
docs.go cli: update go.mod 2021-06-16 11:45:07 +00:00
help.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
init_test.go cli: init --endpoint intializes the project with metadata and migrations from HGE 2021-10-07 14:24:52 +00:00
init.go cli: defer validating plugins index and actions codegen repo 2021-11-10 09:22:06 +00:00
metadata_apply_test.go cli: support request_transforms in actions metadata 2021-11-03 06:38:48 +00:00
metadata_apply.go cli: fix lint errors 2021-10-13 14:39:15 +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: enhance metadata diff command 2021-12-09 17:26:53 +00:00
metadata_diff.go cli: misc changes 2022-01-12 13:25:22 +00:00
metadata_export_test.go cli: fix actions transforms test 2021-11-03 17:44:12 +00:00
metadata_export.go cli: add support for metadata subcommands to work with json/yaml files 2021-09-29 11:13:31 +00:00
metadata_handlers.go cli: wrap errors 2021-12-15 17:55:44 +00:00
metadata_inconsistency_drop_test.go cli: improve error/log messages 2021-10-08 16:10:31 +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: wrap errors 2021-12-15 17:55:44 +00:00
metadata_inconsistency_status_test.go cli: improve error/log messages 2021-10-08 16:10:31 +00:00
metadata_inconsistency_status.go cli: improve error/log messages 2021-10-08 16:10:31 +00:00
metadata_inconsistency.go cli: update go.mod 2021-06-16 11:45:07 +00:00
metadata_reload_test.go cli: improve error/log messages 2021-10-08 16:10:31 +00:00
metadata_reload.go cli: wrap errors 2021-12-15 17:55:44 +00:00
metadata.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
migrate_apply_test.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
migrate_apply.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
migrate_create_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
migrate_create.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
migrate_delete_test.go cli: make --database-name optional in migrate subcommands when using a single database 2021-10-08 13:30:12 +00:00
migrate_delete.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
migrate_squash_test.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
migrate_squash.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
migrate_status_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
migrate_status.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
migrate.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
plugins_install.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
plugins_list.go cli: fix lint errors 2021-10-13 14:39:15 +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: defer validating plugins index and actions codegen repo 2021-11-10 09:22:06 +00:00
root.go cli: fix lint errors 2021-10-13 14:39:15 +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: fix lint errors 2021-10-13 14:39:15 +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: fix lint errors 2021-10-13 14:39:15 +00:00
scripts.go cli: update go.mod 2021-06-16 11:45:07 +00:00
seed_apply_test.go cli: fix lint errors 2021-10-13 14:39:15 +00:00
seed_apply.go cli: misc changes 2022-01-12 13:25:22 +00:00
seed_create_test.go cli: enhance e2e tests 2021-07-28 06:45:03 +00:00
seed_create.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
seed.go cli: add All option for migrate sub-commands (apply, delete and status) and seed apply command 2021-12-23 15:59:56 +00:00
update-cli.go cli: fix changelog hyperlink in the log message 2021-11-11 10:56:16 +00:00
version.go cli: fix inconsistent metadata object list rendering 2021-07-16 05:26:47 +00:00