Skip to content
Kitbay
Submit

console-rendering

MITUpdated on Nov 11, 20265,616GitHub stars

A maintainer reference for gh-aw's Go code that shows how to render styled terminal output with struct tags.

What the skill teaches

A maintainer reference for gh-aw's Go code that shows how to render styled terminal output with struct tags. It lists the console tag options: a display header name, a section title for nested values, number and cost formats, and options to skip empty or excluded fields. Go examples show how a struct becomes a formatted section or table in the gh-aw command-line tool. It applies only to code inside the gh-aw repository.

Capabilities

  • Render Go structs as styled terminal sections
  • Format numbers and costs in console output
  • Control headers and skipped fields with struct tags