2020-09-07 16:43:01 +03:00
|
|
|
.. meta::
|
2021-03-15 18:40:52 +03:00
|
|
|
:description: Manage seed data using the Hasura CLI
|
|
|
|
:keywords: hasura, docs, CLI, hasura seed
|
2020-09-07 16:43:01 +03:00
|
|
|
|
2020-10-13 14:07:46 +03:00
|
|
|
.. _hasura_seed:
|
2020-08-18 15:29:58 +03:00
|
|
|
|
2020-10-07 12:26:30 +03:00
|
|
|
Hasura CLI: hasura seed
|
2020-10-13 14:07:46 +03:00
|
|
|
-----------------------
|
2020-08-18 15:29:58 +03:00
|
|
|
|
2021-02-23 18:34:38 +03:00
|
|
|
Manage seed data.
|
2020-08-18 15:29:58 +03:00
|
|
|
|
|
|
|
Synopsis
|
|
|
|
~~~~~~~~
|
|
|
|
|
|
|
|
|
2021-02-23 18:34:38 +03:00
|
|
|
Manage seed data.
|
2020-08-18 15:29:58 +03:00
|
|
|
|
2021-02-23 18:34:38 +03:00
|
|
|
Alias: sd, seeds
|
2020-08-18 15:29:58 +03:00
|
|
|
|
|
|
|
Options
|
|
|
|
~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2021-02-23 18:34:38 +03:00
|
|
|
--admin-secret string admin secret for Hasura GraphQL engine (env "HASURA_GRAPHQL_ADMIN_SECRET")
|
2020-08-18 15:29:58 +03:00
|
|
|
--certificate-authority string path to a cert file for the certificate authority (env "HASURA_GRAPHQL_CERTIFICATE_AUTHORITY")
|
2021-03-15 18:40:52 +03:00
|
|
|
--database-name string database on which operation should be applied
|
2021-02-23 18:34:38 +03:00
|
|
|
--endpoint string http(s) endpoint for Hasura GraphQL engine (env "HASURA_GRAPHQL_ENDPOINT")
|
2020-10-07 12:26:30 +03:00
|
|
|
-h, --help help for seed
|
2020-08-18 15:29:58 +03:00
|
|
|
--insecure-skip-tls-verify skip TLS verification and disable cert checking (default: false) (env "HASURA_GRAPHQL_INSECURE_SKIP_TLS_VERIFY")
|
|
|
|
|
|
|
|
Options inherited from parent commands
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
--envfile string .env filename to load ENV vars from (default ".env")
|
|
|
|
--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)
|
2021-02-23 18:34:38 +03:00
|
|
|
--skip-update-check skip automatic update check on command execution
|
2020-08-18 15:29:58 +03:00
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
~~~~~~~~
|
|
|
|
|
2021-02-23 18:34:38 +03:00
|
|
|
* :ref:`hasura <hasura>` - Hasura GraphQL engine command line tool
|
2020-10-07 12:26:30 +03:00
|
|
|
* :ref:`hasura seed apply <hasura_seed_apply>` - Apply seed data
|
|
|
|
* :ref:`hasura seed create <hasura_seed_create>` - Create a new seed file
|
2020-08-18 15:29:58 +03:00
|
|
|
|
|
|
|
*Auto generated by spf13/cobra*
|