change table output style

This commit is contained in:
Adora Laura Kalb 2023-07-11 13:04:59 +02:00
parent 21d37b3a4d
commit 669e688575
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -25,7 +25,7 @@ func RunQueueShow(cmd *cobra.Command, args []string) {
}
t := table.NewWriter()
t.SetStyle(table.StyleLight)
t.SetStyle(table.StyleRounded)
t.SetOutputMirror(os.Stdout)
t.AppendHeader(table.Row{"ID", "Short Name", "URL"})