Skip to content

feat: add spinner during analysis in verbose mode#68

Open
realMelTuc wants to merge 1 commit intogetplumber:mainfrom
realMelTuc:feat/add-spinner
Open

feat: add spinner during analysis in verbose mode#68
realMelTuc wants to merge 1 commit intogetplumber:mainfrom
realMelTuc:feat/add-spinner

Conversation

@realMelTuc
Copy link

Summary

Adds a spinner indicator during analysis when running with --verbose flag to address issue #64.

Changes Made

  • Added startSpinner() function that displays rotating characters
  • Spinner only runs in verbose mode (when user explicitly wants more output)
  • Uses 100ms interval for smooth animation

Usage

plumber analyze --verbose

This will show:

  • Auto-detected GitLab URL
  • Auto-detected project
  • Analyzing project: ...
  • Spinner: ⠋ Analyzing...
  • [analysis continues with debug output]

Acceptance Criteria

  • Spinner shows during analysis in verbose mode
  • Does not affect non-verbose mode (remains quiet)
  • Clears spinner line after completion

Notes

Go not available locally to verify build, but code follows Go patterns and should compile.

When running with --verbose flag, displays a spinner while analysis
is running to indicate progress. Spinner shows rotating characters
to let users know the analysis is working.

Usage: plumber analyze --verbose

Closes getplumber#64
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.

1 participant