Skip to content

Commit

Permalink
Merge pull request #41 from andyz-dev/center-align
Browse files Browse the repository at this point in the history
[Enhancement] Center align list output
  • Loading branch information
iwilltry42 committed May 13, 2019
2 parents a881a87 + 2f07bdb commit 3a2eeba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func printClusters(all bool) {
}

table := tablewriter.NewWriter(os.Stdout)
table.SetAlignment(tablewriter.ALIGN_CENTER)
table.SetHeader([]string{"NAME", "IMAGE", "STATUS", "WORKERS"})

for _, cluster := range clusters {
Expand Down

0 comments on commit 3a2eeba

Please sign in to comment.