graphql-engine/docs/graphql/manual/hasura-cli/hasura_metadata_apply.rst
2019-02-05 18:21:21 +05:30

49 lines
973 B
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 file:
hasura metadata apply
Options
~~~~~~~
::
--access-key string access key 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)
SEE ALSO
~~~~~~~~
* :ref:`hasura metadata <hasura_metadata>` - Manage Hasura GraphQL Engine metadata saved in the database
*Auto generated by spf13/cobra*