[cl-util] Output JSON instead of printing to stdout

JSON is easier to consume from an infrastructure standpoint, and this
client will be integrated with recipes.

Bug: 52113
Change-Id: Ic8d31c9df5c53ca9f7945eb05dbea3dec7349a3c
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/396427
Commit-Queue: Anthony Fandrianto <atyfto@google.com>
Reviewed-by: Oliver Newman <olivernewman@google.com>
1 file changed
tree: 6a183f8e1f4c07cf8003f826474145ab3574c60c
  1. artifacts/
  2. buildbucket/
  3. cmd/
  4. devices/
  5. digest/
  6. gotidy/
  7. .gitignore
  8. AUTHORS
  9. go.mod
  10. go.sum
  11. LICENSE
  12. MAINTAINERS
  13. manifest
  14. PATENTS
  15. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.

In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:

REPO=fuchsia.googlesource.com/infra/infra
git clone https://${REPO} $(go env GOPATH)/src/${REPO}