graphql-engine/cli
2018-07-17 22:30:26 +05:30
..
assets cli: close #38 handle server, cli and console versions (#43) 2018-07-04 18:13:52 +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 inserts into schema_migration only once per version (fix #127) (#128) 2018-07-12 19:54:46 +05:30
docs [cli] add comments (#4) 2018-06-28 14:06:25 +05:30
migrate inserts into schema_migration only once per version (fix #127) (#128) 2018-07-12 19:54:46 +05:30
util handle server endpoints that contains a url path (#64) 2018-07-09 19:17:38 +05:30
version go vet cli code (#110) 2018-07-11 17:43:31 +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 cli: update tests (#47) 2018-07-06 10:36:27 +05:30
cli.go move metadata.yml file inside migrations folder, fix #122 (#125) 2018-07-12 18:22:25 +05:30
CONTRIBUTING.md readme updates (#149) 2018-07-17 18:32:33 +05:30
Gopkg.lock cli: updates to support console versioning etc (#30) 2018-07-03 14:54:46 +05:30
Gopkg.toml [cli] fix tests 2018-06-28 14:14:01 +05:30
Makefile deploy script enhancements (#124) 2018-07-17 22:30:26 +05:30
README.md readme updates (#149) 2018-07-17 18:32:33 +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

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

Docs

Read complete docs here.

Contributing

Checkout the contributing guide.