[PR #25] 14 unified output #26

Open
opened 2026-02-16 12:57:51 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/tea/pull/25
Author: @root360-AndreasUlm
Created: 4/28/2019
Status: 🔄 Open

Base: masterHead: 14_unified_output


📝 Commits (3)

📊 Changes

24 files changed (+2864 additions, -12 deletions)

View changed files

📝 cmd/issues.go (+25 -2)
📝 cmd/log.go (+77 -1)
📝 cmd/pulls.go (+28 -3)
📝 cmd/releases.go (+25 -6)
📝 go.mod (+2 -0)
📝 go.sum (+4 -0)
vendor/github.com/mattn/go-runewidth/.travis.yml (+8 -0)
vendor/github.com/mattn/go-runewidth/LICENSE (+21 -0)
vendor/github.com/mattn/go-runewidth/README.mkd (+27 -0)
vendor/github.com/mattn/go-runewidth/runewidth.go (+977 -0)
vendor/github.com/mattn/go-runewidth/runewidth_appengine.go (+8 -0)
vendor/github.com/mattn/go-runewidth/runewidth_js.go (+9 -0)
vendor/github.com/mattn/go-runewidth/runewidth_posix.go (+79 -0)
vendor/github.com/mattn/go-runewidth/runewidth_windows.go (+28 -0)
vendor/github.com/olekukonko/tablewriter/.gitignore (+15 -0)
vendor/github.com/olekukonko/tablewriter/.travis.yml (+14 -0)
vendor/github.com/olekukonko/tablewriter/LICENSE.md (+19 -0)
vendor/github.com/olekukonko/tablewriter/README.md (+277 -0)
vendor/github.com/olekukonko/tablewriter/csv.go (+52 -0)
vendor/github.com/olekukonko/tablewriter/table.go (+839 -0)

...and 4 more files

📄 Description

Implemented formats:

  • CSV
  • simple (kind of space-separated values but without headers)
  • table
  • TSV
  • YAML

General function Output() with the desired type, a list of headers and a list containing a list of strings as arguments should be called by other functions.

Signed-off-by: Andreas Ulm andreas.ulm@root360.de


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/tea/pull/25 **Author:** [@root360-AndreasUlm](https://github.com/root360-AndreasUlm) **Created:** 4/28/2019 **Status:** 🔄 Open **Base:** `master` ← **Head:** `14_unified_output` --- ### 📝 Commits (3) - [`0cd7ba0`](https://github.com/go-gitea/tea/commit/0cd7ba04b8b5c9fbde36a8041790e987c32ab165) implemented unified Output (#14) - [`2d39855`](https://github.com/go-gitea/tea/commit/2d398558501e9a2c7655675964919180d26d78dc) added missing header for *SV types - [`70f6d2c`](https://github.com/go-gitea/tea/commit/70f6d2cd0f8dfe7ce0d63228579e5598bc447c01) ran 'make fmt' ### 📊 Changes **24 files changed** (+2864 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `cmd/issues.go` (+25 -2) 📝 `cmd/log.go` (+77 -1) 📝 `cmd/pulls.go` (+28 -3) 📝 `cmd/releases.go` (+25 -6) 📝 `go.mod` (+2 -0) 📝 `go.sum` (+4 -0) ➕ `vendor/github.com/mattn/go-runewidth/.travis.yml` (+8 -0) ➕ `vendor/github.com/mattn/go-runewidth/LICENSE` (+21 -0) ➕ `vendor/github.com/mattn/go-runewidth/README.mkd` (+27 -0) ➕ `vendor/github.com/mattn/go-runewidth/runewidth.go` (+977 -0) ➕ `vendor/github.com/mattn/go-runewidth/runewidth_appengine.go` (+8 -0) ➕ `vendor/github.com/mattn/go-runewidth/runewidth_js.go` (+9 -0) ➕ `vendor/github.com/mattn/go-runewidth/runewidth_posix.go` (+79 -0) ➕ `vendor/github.com/mattn/go-runewidth/runewidth_windows.go` (+28 -0) ➕ `vendor/github.com/olekukonko/tablewriter/.gitignore` (+15 -0) ➕ `vendor/github.com/olekukonko/tablewriter/.travis.yml` (+14 -0) ➕ `vendor/github.com/olekukonko/tablewriter/LICENSE.md` (+19 -0) ➕ `vendor/github.com/olekukonko/tablewriter/README.md` (+277 -0) ➕ `vendor/github.com/olekukonko/tablewriter/csv.go` (+52 -0) ➕ `vendor/github.com/olekukonko/tablewriter/table.go` (+839 -0) _...and 4 more files_ </details> ### 📄 Description Implemented formats: - CSV - simple (kind of space-separated values but without headers) - table - TSV - YAML General function Output() with the desired type, a list of headers and a list containing a list of strings as arguments should be called by other functions. Signed-off-by: Andreas Ulm <andreas.ulm@root360.de> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 12:57:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/tea#26