mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-05 14:27:59 +03:00
776c550654
Includes version command and makefile integration along with docs command
1.0 KiB
1.0 KiB
hasura init
Initialize directory for Hasura GraphQL Engine
Synopsis
Create directories and files required for Hasura GraphQL Engine
hasura init [flags]
Examples
# Create a directory with installation manifests:
hasura init --directory <my-directory>
# Create a directory with an endpoint configured:
hasura --directory <my-directory> --endpoint <graphql-engine-endpoint>
# See https://docs.hasura.io/0.15/graphql/manual/getting-started for more details
Options
--access-key string access key for Hasura GraphQL Engine
--directory string name of directory where files will be created
--endpoint string http(s) endpoint for Hasura GraphQL Engine
-h, --help help for init
Options inherited from parent commands
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
SEE ALSO
- hasura - Hasura GraphQL Engine command line tool