• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

astronomer / astro-cli / b607a7ca-fc0d-4bfc-8479-d7591bb75ac5 / 1
37%
main: 40%

Build:
Build:
LAST BUILD BRANCH: fix/otto-unsupported-platform
DEFAULT BRANCH: main
Ran 27 Mar 2026 03:35PM UTC
Files 198
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Mar 2026 03:29PM UTC coverage: 36.217% (-0.3%) from 36.534%
b607a7ca-fc0d-4bfc-8479-d7591bb75ac5.1

Pull #2063

circleci

jlaneve
feat(ai-84): add --json, --output, and --template flags to list commands

Add structured output support (JSON, Go templates) to all list commands:
- astro dev ps
- astro deployment list
- astro workspace list
- astro organization list
- astro deployment/workspace/organization user list
- astro deployment/workspace/organization team list

New pkg/output package provides a unified Printer that handles table,
JSON (with terminal colorization), and Go template output formats.
Flags (--json, --output/-o, --template) are registered consistently
via output.Flags and marked mutually exclusive.

Key design decisions:
- PS() returns structured *PSStatus; table rendering moved to cmd layer
- JSON output uses empty strings + omitempty instead of "N/A" placeholders
- Table output applies orNA() for human-readable display
- PSStatus.Running is *bool, omitted in Docker mode (per-container
  state is in Containers array), present in standalone mode
- BuildTableConfig generics provide type-safe table column definitions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #2063: --json output and --format consistency pass

24774 of 68404 relevant lines covered (36.22%)

8.62 hits per line

Source Files on job b607a7ca-fc0d-4bfc-8479-d7591bb75ac5.1
  • Tree
  • List 198
  • Changed 25
  • Source Changed 25
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • a5c510c5 on github
  • Prev Job for on agent/ai-84 (#ab4368ab-4f0e-4426-86d1-283ad75937dd.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc