graphql-engine/cli
2020-10-28 04:18:48 +00:00
..
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: fix lint error in commands\docs.go (#5929) 2020-10-22 07:05:32 +00:00
integration_test cli: when applying metadata, assume empty metadata plugin files if they don't exist (close #5163) (#5170) 2020-06-24 16:08:48 +05:30
metadata cli: fix lint errors in metadata/actions/actions.go (#5910) 2020-10-22 07:36:37 +00:00
migrate cli: fix linter errors (#5870) 2020-10-22 08:08:14 +00:00
pkg/console cli: fixed lint error (#5877) 2020-10-28 04:18:48 +00:00
plugins cli: fix permission issues when creating symlinks on windows, misc fix (close #5111, close #4879) (#5164) 2020-07-03 09:49:09 +05:30
seed cli: manage seed migrations as sql files (close #2431) (#3763) 2020-06-16 17:45:04 +05:30
telemetry cli: add directory name as an argument to init cmd (#3590) 2019-12-25 14:01:29 +05:30
update cli: handle failed update checks gracefully (close #5392) (#5403) 2020-07-27 07:15:08 +05:30
util cli: fix lint errors in cli/util/git.go (fix #5831) (#5932) 2020-10-22 06:35:05 +00:00
version cli: fix cron triggers not being exported on a metadata export (close #5047) (#5060) 2020-06-16 14:38:36 +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: manage seed migrations as sql files (close #2431) (#3763) 2020-06-16 17:45:04 +05:30
CONTRIBUTING.md cli: update docs to remove realize specific instructions (#4398) 2020-04-14 08:42:53 +05:30
directory.go validate pwd is neither filesystem root nor an existing hasura project 2020-04-27 09:04:32 +05:30
get.sh cli: allow setting the release to get in cli/get.sh (#4348) 2020-06-25 17:56:53 +02:00
global_config.go cli: spinner bug, add cli_environment in global config (#4459) 2020-04-22 14:45:42 +05:30
go.mod cli: fix permission issues when creating symlinks on windows, misc fix (close #5111, close #4879) (#5164) 2020-07-03 09:49:09 +05:30
go.sum cli: when applying metadata, assume empty metadata plugin files if they don't exist (close #5163) (#5170) 2020-06-24 16:08:48 +05:30
logger_hook.go cli: allow managing actions (#3859) 2020-02-24 21:44:46 +05:30
Makefile cli: load assets from server if cdn is disabled (close #3382) (#3851) 2020-06-03 09:36:23 +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.