graphql-engine/cli/docs/hasura_init.md
Shahidh K Muhammed 776c550654
[cli] add docs and build tools (#3)
Includes version command and makefile integration along with docs command
2018-06-28 11:10:18 +05:30

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
Auto generated by spf13/cobra on 28-Jun-2018