graphql-engine/cli
2020-04-23 08:40:24 +05:30
..
build ci: add tests for cli-migrations image (#4396) 2020-04-15 07:26:00 +05:30
cmd/hasura fix typos is multiple files (#728) 2018-10-15 12:29:51 +05:30
commands cli: validate endpoint using ParseRequestURI (fix #4407) (#4416) 2020-04-23 08:40:24 +05:30
integration_test cli(test): refactor integration test metadata directory (#4491) 2020-04-22 16:58:02 +05:30
metadata console, cli, cli-ext: query support for actions (close #4032) (#4318) 2020-04-13 15:51:53 +05:30
migrate cli: add check_metadata_consistency for v2 workflow migrations (#4392) 2020-04-22 15:52:02 +05:30
pkg/console cli: add hasura-collaborator-token and hasura-client-name to allowed headers (#4414) 2020-04-15 19:08:31 +05:30
plugins cli: spinner bug, add cli_environment in global config (#4459) 2020-04-22 14:45:42 +05:30
telemetry cli: add directory name as an argument to init cmd (#3590) 2019-12-25 14:01:29 +05:30
update cli: add version flag in update-cli command (#3996) 2020-03-05 12:25:33 +05:30
util cli: spinner bug, add cli_environment in global config (#4459) 2020-04-22 14:45:42 +05:30
version cli: allow customization of server api paths (close #4016) (#4174) 2020-04-08 16:29:21 +05:30
.gitignore [cli] commit realize, update docs 2018-06-28 11:35:34 +05:30
.realize.yaml cli: update go-binddata, fix realize (close #3588) (#3687) 2020-01-13 15:24:41 +05:30
cli.go cli: validate endpoint using ParseRequestURI (fix #4407) (#4416) 2020-04-23 08:40:24 +05:30
CONTRIBUTING.md cli: update docs to remove realize specific instructions (#4398) 2020-04-14 08:42:53 +05:30
directory.go cli: allow managing actions (#3859) 2020-02-24 21:44:46 +05:30
get.sh cli(installer): add -f flag to curl (fix #1871) (#3477) 2019-12-12 11:00:19 +05:30
global_config.go cli: spinner bug, add cli_environment in global config (#4459) 2020-04-22 14:45:42 +05:30
go.mod cli: add suport for .env file (fix #4129) (#4454) 2020-04-23 08:17:51 +05:30
go.sum console, cli, cli-ext: query support for actions (close #4032) (#4318) 2020-04-13 15:51:53 +05:30
logger_hook.go cli: allow managing actions (#3859) 2020-02-24 21:44:46 +05:30
Makefile cli: update makefile to set plugins branch ref (#4421) 2020-04-16 06:54:50 +05:30
README.md cli: update installation instructions in the readme (fix #3875) (#3876) 2020-02-13 12:54:36 +05:30

Hasura GraphQL Engine CLI

GoDoc

Installation

Download GraphQL Engine CLI bundled with Hasura CLI

  • Linux/macOS
curl -L https://github.com/hasura/graphql-engine/raw/master/cli/get.sh | bash
  • Windows

Download the binary cli-hasura-windows-amd64.exe available under Assets of the latest release from the GitHub release page: https://github.com/hasura/graphql-engine/releases

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> --admin-secret <admin-secret>
cd <my-project>
hasura console

Contributing

Checkout the contributing guide.