From 21d37b3a4dead01388c13d7d6c09a7f701009b1e Mon Sep 17 00:00:00 2001 From: lauralani Date: Tue, 11 Jul 2023 13:03:32 +0200 Subject: [PATCH] change table output style --- CHANGELOG.md | 3 +++ app/cli-queue.go | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab6d86a..4eb3116 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/app/cli-queue.go b/app/cli-queue.go index e87909a..a6ebe50 100644 --- a/app/cli-queue.go +++ b/app/cli-queue.go @@ -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"})