From 5be3db2fa001b57ba4a91fc228ef5c9cfddbeeef Mon Sep 17 00:00:00 2001 From: Harry Zheng Date: Mon, 29 Mar 2021 02:46:55 +0800 Subject: [PATCH] Change output table format --- internal/output/output.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/output/output.go b/internal/output/output.go index e7432ea..01ea7c1 100644 --- a/internal/output/output.go +++ b/internal/output/output.go @@ -11,6 +11,10 @@ import ( func Table(apps []macapp.Application) { table := tablewriter.NewWriter(os.Stdout) table.SetHeader([]string{"Name", "Current Architectures", "Arm Support"}) + table.SetHeaderAlignment(tablewriter.ALIGN_LEFT) + table.SetCenterSeparator("") + table.SetColumnSeparator("") + table.SetBorder(false) for _, app := range apps { table.Append([]string{app.Name, app.Architectures.String(), app.ArmSupport.String()})