mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
48 lines
932 B
ReStructuredText
48 lines
932 B
ReStructuredText
.. _hasura_metadata_export:
|
|
|
|
Hasura CLI: hasura metadata export
|
|
----------------------------------
|
|
|
|
Export Hasura GraphQL Engine metadata from the database
|
|
|
|
Synopsis
|
|
~~~~~~~~
|
|
|
|
|
|
Export Hasura GraphQL Engine metadata from the database
|
|
|
|
::
|
|
|
|
hasura metadata export [flags]
|
|
|
|
Examples
|
|
~~~~~~~~
|
|
|
|
::
|
|
|
|
# Export metadata and save it in metadata.yaml file:
|
|
hasura metadata export
|
|
|
|
Options
|
|
~~~~~~~
|
|
|
|
::
|
|
|
|
-h, --help help for export
|
|
|
|
Options inherited from parent commands
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
::
|
|
|
|
--access-key string access key for Hasura GraphQL Engine
|
|
--endpoint string http(s) endpoint for Hasura GraphQL Engine
|
|
--project string hasura project directory where the commands should be executed. (default: current directory)
|
|
|
|
SEE ALSO
|
|
~~~~~~~~
|
|
|
|
* :ref:`hasura metadata <hasura_metadata>` - Manage Hasura GraphQL Engine metdata saved in the database
|
|
|
|
*Auto generated by spf13/cobra*
|