graphql-engine/cli
Aravind Shankar 59dd23cd17 [migrate status] fix: no migration files message when there are no migration files (#1)
```
$ hasura migrate status
VERSION  SOURCE STATUS  DATABASE STATUS
```
2018-06-28 14:08:47 +05:30
..
.realize [cli] commit realize, update docs 2018-06-28 11:35:34 +05:30
assets [cli] add docs and build tools (#3) 2018-06-28 11:10:18 +05:30
build [cli] add docs and build tools (#3) 2018-06-28 11:10:18 +05:30
cmd/hasura refactor most of the code 2018-06-26 21:39:32 +05:30
commands [cli] add tests for migrate commands (#9) 2018-06-28 14:06:57 +05:30
docs [cli] add comments (#4) 2018-06-28 14:06:25 +05:30
migrate [migrate status] fix: no migration files message when there are no migration files (#1) 2018-06-28 14:08:47 +05:30
util [cli] add tests for migrate commands (#9) 2018-06-28 14:06:57 +05:30
.gitignore [cli] commit realize, update docs 2018-06-28 11:35:34 +05:30
cli_test.go [cli] add tests for some packages (#2) 2018-06-27 17:34:09 +05:30
cli.go [cli] add docs and build tools (#3) 2018-06-28 11:10:18 +05:30
CONTRIBUTING.md [cli] commit realize, update docs 2018-06-28 11:35:34 +05:30
Gopkg.lock [cli] add tests for migrate commands (#9) 2018-06-28 14:06:57 +05:30
Gopkg.toml [cli] add tests for migrate commands (#9) 2018-06-28 14:06:57 +05:30
Makefile [cli] add docs and build tools (#3) 2018-06-28 11:10:18 +05:30
README.md [cli] commit realize, update docs 2018-06-28 11:35:34 +05:30

Hasura GraphQL Engine CLI

Installation

Download GraphQL Engine CLI bundled with Hasura CLI

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

or download using go get

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

Usage

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

Docs

Read complete docs here.

Contributing

Checkout the contributing guide.