change table output style

This commit is contained in:
Adora Laura Kalb 2023-07-11 13:03:32 +02:00
parent 80e0d97d7c
commit 21d37b3a4d
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added `list` alias to `queue show`
- Added `delete` alias to `queue remove`
### Changed
- Changed table output style
## [v0.2.1] - 2023-06-11
### Changed
- when starting the app in daemon mode, the app will now wait one complete interval until it posts the next post

View file

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