graphcurl

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 2 Imported by: 0

README

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 git@github.com: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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL