Skip to content

habx/graphcurl

Repository files navigation

Graphcurl

codecov Release Go version Docker CircleCI License

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.

Getting Started

CLI usage

Command line

Installing

Docker

docker pull habx/graphcurl
docker container run --rm habx/graphcurl --help

Binary

MACOS

Set VERSION

VERSION=vx.x.x wget https://github.com/habx/graphcurl/releases/download/${VERSION}/graphcurl_darwin_amd64.gz
LINUX
VERSION=vx.x.x wget https://github.com/habx/graphcurl/releases/download/${VERSION}/graphcurl_linux_amd64.gz

go source

go get -t github.com/habx/graphcurl
graphcurl --help

Build and tun tests

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

Built With

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details