graphql-engine/cli
Vishnu Bharathi 8a6f3f7e9d cli: support ARM architecture
https://github.com/hasura/graphql-engine-mono/pull/1534

GitOrigin-RevId: 67723bb64e2505c665b04b5b0d691e5599843f87
2021-07-14 08:54:43 +00:00
..
build ci: add tests for cli-migrations image (#4396) 2020-04-15 07:26:00 +05:30
cmd/hasura cli: update go.mod 2021-06-16 11:45:07 +00:00
commands cli: make cli-ext to be usable in the cli library 2021-06-27 13:50:20 +00:00
integration_test cli: add migrate and metadata packages 2021-06-18 06:25:14 +00:00
internal cli: support ARM architecture 2021-07-14 08:54:43 +00:00
migrate cli: skip compression for macos x64 binary 2021-06-22 08:05:16 +00:00
pkg cli: expose method to get iconsistent metadata objects 2021-07-06 09:37:28 +00:00
plugins cli: update go.mod 2021-06-16 11:45:07 +00:00
seed cli: add support for citus sources 2021-06-21 14:35:00 +00:00
telemetry cli: update go.mod 2021-06-16 11:45:07 +00:00
update cli: update promptui dependency (#51) 2020-11-18 13:36:24 +00:00
util cli: add e2e tests for metadata and migrate commands 2021-04-05 14:01:35 +00:00
version cli: fix cli compatibility check message 2021-05-19 09:32:33 +00:00
.gitignore cli: show only differences in metadata on metadata diff 2021-06-17 10:16:17 +00:00
.realize.yaml cli: update go-binddata, fix realize (close #3588) (#3687) 2020-01-13 15:24:41 +05:30
cli.go cli: make cli-ext to be usable in the cli library 2021-06-27 13:50:20 +00:00
CONTRIBUTING.md cli: merges cli-ext with cli 2021-03-17 15:10:03 +00:00
directory.go validate pwd is neither filesystem root nor an existing hasura project 2020-04-27 09:04:32 +05:30
get.sh cli: support ARM architecture 2021-07-14 08:54:43 +00:00
global_config.go Fix typo in debug logs 2021-05-11 06:49:28 +00:00
go.mod cli: add migrate and metadata packages 2021-06-18 06:25:14 +00:00
go.sum cli: add migrate and metadata packages 2021-06-18 06:25:14 +00:00
logger_hook.go cli: add migrate and metadata packages 2021-06-18 06:25:14 +00:00
Makefile cli: support ARM architecture 2021-07-14 08:54:43 +00:00
README.md cli: misc fixes 2020-11-24 06:12:24 +00:00

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/stable/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.