graphql-engine/docs/graphql/manual/hasura-cli/hasura_metadata_apply.rst

50 lines
1.0 KiB
ReStructuredText
Raw Normal View History

.. _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
--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")
--project string directory where commands are executed (default: current dir)
--skip-update-check Skip automatic update check on command execution
SEE ALSO
~~~~~~~~
2018-12-07 15:08:39 +03:00
* :ref:`hasura metadata <hasura_metadata>` - Manage Hasura GraphQL Engine metadata saved in the database
*Auto generated by spf13/cobra*