1
0
mirror of https://github.com/hasura/graphql-engine.git synced 2024-12-29 18:34:14 +03:00
graphql-engine/docs/graphql/manual/hasura-cli/hasura_metadata_apply.rst
2019-12-02 16:27:17 +05:30

52 lines
1.2 KiB
ReStructuredText

.. _hasura_metadata_apply:
Hasura CLI: hasura metadata apply
---------------------------------
Apply Hasura metadata on a database.
Synopsis
~~~~~~~~
Apply Hasura metadata on a database.
::
hasura metadata apply [flags]
Examples
~~~~~~~~
::
# Apply Hasura GraphQL engine metadata present in metadata.[yaml|json] file:
hasura metadata apply
Options
~~~~~~~
::
--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
SEE ALSO
~~~~~~~~
* :ref:`hasura metadata <hasura_metadata>` - Manage Hasura GraphQL engine metadata saved in the database
*Auto generated by spf13/cobra*