Skip to content

Conversation

@schpetbot
Copy link
Collaborator

Summary

fix this issue #113

Details

  • Workspace: run-1c3017ab
  • Attempts: 2

Add shouldShowSpinner() utility that checks both Deno.stdout.isTerminal()
and the NO_COLOR environment variable before showing spinners. This
prevents garbled spinner output when the CLI is used with tools that
capture output (e.g., AI assistants, scripts).

Removes --no-color flags from commands where they only controlled spinner
visibility, since spinners now automatically disable in non-TTY
environments.

Fixes #113
Updated bulk.ts to use the centralized shouldShowSpinner() function instead
of directly checking Deno.stdout.isTerminal(). This ensures progress display
during bulk operations also respects the NO_COLOR environment variable.

Fixes #113
@schpet schpet changed the title fix this issue https://github.com/schpet/linear-cli/issues/113 Avoid showing spinners in non tty env Jan 31, 2026
@schpet schpet merged commit 59dce3c into main Feb 2, 2026
8 checks passed
@schpet schpet deleted the pr/1c3017ab branch February 2, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants