/plushcap/analysis/fly-io/flyctl-meets-json

Flyctl Meets JSON

What's this blog post about?

Dj Walker-Morgan has introduced a new version of Flyctl with the addition of the --json or -j flag, which presents all output from flyctl as JSON data. This feature aims to allow users to create their own automation solutions for their workflow with Fly. The --json flag can be used in conjunction with other commands like list apps and info to generate structured JSON data that can be processed, filtered, and reorganized using tools like jq. Additionally, the flyctl deploy command can now produce a stream of JSON "Source/Status/Message" objects reflecting the progress of deployment. However, it is recommended to use --detach with flyctl deploy and poll flyctl status or run flyctl monitor for tracking deployments on an application.

Company
Fly.io

Date published
June 23, 2020

Author(s)
Dj Walker-Morgan

Word count
938

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.