grapheme-cli 0.4.0

Grapheme CLI for parsing, compiling, and running .gr workflows
1
2
3
4
5
6
7
8
9
10
import http from "grapheme/http"
import core from "grapheme/core"

query RequestTransformOutputDemo {
  set { url: "https://httpbin.org/get" }
  |> http.get(url: $current.url)
  |> core.pick(fields: ["status", "method", "url", "body"])
  |> core.map(identifier: "body", field: "args")
  |> core.echo()
}