mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (terminal-output-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
25 files changed
+175
-24
No files matched your search
@@ -212,6 +212,7 @@ $ tea team view 2 --json units`,
|
||||
return terminal.View{
|
||||
Title: team.Slug(), ID: fmt.Sprintf("(ID %d)", team.ID), Badges: []terminal.Cell{{Text: team.Access(), Bold: true}},
|
||||
Fields: []terminal.Field{
|
||||
{Label: "ID", Value: strconv.FormatInt(team.ID, 10), PipedOnly: true},
|
||||
{Label: "Access", Value: team.Access(), PipedOnly: true},
|
||||
{Label: "Units", Value: strings.Join(units, ", ")},
|
||||
{Label: "Members", Value: memberNames},
|
||||
|
||||
Reference in new issue
Block a user