Skip to content

Conversation

@Mykematt
Copy link
Contributor

  • Added global --quiet flag to suppress progress output
  • Stored in Factory.Quiet and propagated to commands
  • Removed charmbracelet/huh/spinner dependency
  • New simple spinner using ... animation, writes to stderr
  • Respects quiet mode and non-TTY environments
  • SpinWhile() now takes *factory.Factory parameter
  • Removed spinner from StoppableAgent bubbletea model
  • Handles non-TTY stdin properly for piped input
  • Job cancel: passes display ID (not GraphQL ID) to spinner message

@Mykematt Mykematt requested a review from a team as a code owner November 24, 2025 23:35
- Stored in Factory.Quiet and propagated to commands
- Removed previously implemented global --yes and --input from subcommand to command level
- Removed charmbracelet/huh/spinner dependency
- New simple spinner using ... animation, writes to stderr
- Respects quiet mode and non-TTY environments
- SpinWhile() now takes *factory.Factory parameter
- Removed spinner from StoppableAgent bubbletea model
- Handles non-TTY stdin properly for piped input
- Job cancel: passes display ID (not GraphQL ID) to spinner message
- Fix TTY detection consistency: use os.Stdout.Fd() in spinner.go
- Propagate quiet flag to agent list TUI (suppresses status messages)
- Propagate quiet flag to agent stop TUI (suppresses intermediate states)
- Update tests for new quiet parameter
…inWhile signature

- Added --quiet/-q flag to Kong CLI struct and GlobalFlags interface
- Updated all Kong build commands to set f.Quiet from globals.IsQuiet()
- Updated SpinWhile calls in cmd/build/*.go to use new (f, msg, fn) signature
- Added --quiet to buildCobraArgs() bridge for Cobra command compatibility
- Updated factory.go comment to reflect current Kong/Cobra status
@Mykematt Mykematt merged commit 8ab5f1f into main Dec 1, 2025
1 check passed
@Mykematt Mykematt deleted the Ola-Spinner branch December 1, 2025 17:05
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