Skip to content

Commit

Permalink
change table style
Browse files Browse the repository at this point in the history
  • Loading branch information
joelee2012 committed Dec 30, 2024
1 parent 9577439 commit 7a9599b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ func (c *Clean) Run(w io.Writer) error {
t.SortBy([]table.SortBy{{Name: "NAMESPACE", Mode: table.Asc}, {Name: "NAME", Mode: table.Asc}})
switch c.Output {
case "table":
s := table.StyleLight
s.Options = table.OptionsNoBordersAndSeparators
t.SetStyle(s)
t.Render()
case "csv":
t.RenderCSV()
Expand Down

0 comments on commit 7a9599b

Please sign in to comment.