2018-09-11 14:11:24 +03:00
|
|
|
.. _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
|
|
|
|
~~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-03-20 08:10:06 +03:00
|
|
|
# Apply Hasura GraphQL Engine metadata present in metadata.[yaml|json] file:
|
2018-09-11 14:11:24 +03:00
|
|
|
hasura metadata apply
|
|
|
|
|
|
|
|
Options
|
|
|
|
~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-03-20 08:10:06 +03:00
|
|
|
--admin-secret string admin secret for Hasura GraphQL Engine
|
2019-02-14 12:37:47 +03:00
|
|
|
--endpoint string http(s) endpoint for Hasura GraphQL Engine
|
|
|
|
-h, --help help for apply
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
Options inherited from parent commands
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-03-20 08:10:06 +03:00
|
|
|
--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
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
~~~~~~~~
|
|
|
|
|
2018-12-07 15:08:39 +03:00
|
|
|
* :ref:`hasura metadata <hasura_metadata>` - Manage Hasura GraphQL Engine metadata saved in the database
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
*Auto generated by spf13/cobra*
|