# README
Graphcurl
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
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
- machinebox/graphql - Low-level GraphQL client for Go.
- spf13/cobra - Cobra is both a library for creating powerful modern CLI applications
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
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author