change table output style
This commit is contained in:
parent
80e0d97d7c
commit
21d37b3a4d
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"})
|
||||
|
||||
|
|
Loading…
Reference in a new issue