I created this tool to facilitate GraphQL usage in CLI.
There are many use cases in devops use : Argo, crontab, jenkins..
I was inspired by another open source project: hasura/graphqurl.
docker pull habx/graphcurl
docker container run --rm habx/graphcurl --help
Set VERSION
VERSION=vx.x.x wget https://github.com/habx/graphcurl/releases/download/${VERSION}/graphcurl_darwin_amd64.gz
VERSION=vx.x.x wget https://github.com/habx/graphcurl/releases/download/${VERSION}/graphcurl_linux_amd64.gz
go get -t github.com/habx/graphcurl
graphcurl --help
Git clone
git clone [email protected]:habx/graphcurl.git
cd graphcurl
Go build
go build
Go tests
go test -v $(go list ./... | grep -v "vendor") -covermode=atomic -coverprofile=coverage.txt
- machinebox/graphql - Low-level GraphQL client for Go.
- spf13/cobra - Cobra is both a library for creating powerful modern CLI applications
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details