Pular para o conteúdo
Kitbay
Enviar
SkillOficial

console-rendering

MITAtualizado em 11 de nov. de 20265.616Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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