ankitpokhrel / jira-cli

🔥 Feature-rich interactive Jira command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spinner is not displayed on stderr when used with a pipe

funcode opened this issue · comments

When I run "jira issue list... > output" or "jira issue list... --plain |awk ...", the spinner is not shown.
This is due to a bug in the spinner package which was fixed by this PR: briandowns/spinner#149
The fix is to upgrade the spinner package to 1.23, and use the new WithWriterFile method instead of the old WithWriter method when initiating the spinner.