graphql-engine/cli
2019-01-28 19:25:28 +05:30
..
assets add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
build [cli] add docs and build tools (#3) 2018-06-28 11:10:18 +05:30
cmd/hasura fix typos is multiple files (#728) 2018-10-15 12:29:51 +05:30
commands add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
migrate display error message for invalid migration file (fix #1224) (#1238) 2019-01-04 15:15:54 +05:30
telemetry add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
util add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
version add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
.gitignore [cli] commit realize, update docs 2018-06-28 11:35:34 +05:30
.realize.yaml cli: updates to support console versioning etc (#30) 2018-07-03 14:54:46 +05:30
cli_test.go add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
cli.go add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
CONTRIBUTING.md update cli contributing guide (#1412) 2019-01-22 12:10:59 +05:30
get.sh add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
Gopkg.lock add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
Gopkg.toml added support for file information in hasuradb driver (close #1136) (#1143) 2018-12-03 16:50:53 +05:30
Makefile remove docs from cli folder (#918) 2018-10-30 10:38:38 +05:30
README.md remove docs from cli folder (#918) 2018-10-30 10:38:38 +05:30

Hasura GraphQL Engine CLI

GoDoc

Installation

Download GraphQL Engine CLI bundled with Hasura CLI

  • Linux/macOS
curl -L https://cli.hasura.io/install.sh | bash

Download using go get

go get github.com/hasura/graphql-engine/cli/cmd/hasura

Build from source

git clone https://github.com/hasura/graphql-engine
cd graphql-engine/cli
make deps
make build
# binaries will be in _output directory

Usage

hasura init --directory <my-project> --endpoint <graphql-endpoint> --access-key <access-key>
cd <my-project>
hasura console

Contributing

Checkout the contributing guide.