Hasura CLI: hasura metadata apply

Apply Hasura metadata on a database.


Apply Hasura metadata on a database.

hasura metadata apply [flags]


# Apply Hasura GraphQL engine metadata present in metadata.[yaml|json] file:
hasura metadata apply


    --admin-secret string   admin secret for Hasura GraphQL engine
    --dry-run               show a diff instead of applying the metadata
    --endpoint string       http(s) endpoint for Hasura GraphQL engine
-h, --help                  help for apply

Options inherited from parent commands

--log-level string    log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
--no-color            do not colorize output (default: false)
--project string      directory where commands are executed (default: current dir)
--skip-update-check   Skip automatic update check on command execution


  • hasura metadata - Manage Hasura GraphQL engine metadata saved in the database

Auto generated by spf13/cobra