Skip to content

fix(cli): force the tui when --output == tui#331

Merged
jahvon merged 1 commit intomainfrom
tui-flag-support
Oct 15, 2025
Merged

fix(cli): force the tui when --output == tui#331
jahvon merged 1 commit intomainfrom
tui-flag-support

Conversation

@jahvon
Copy link
Copy Markdown
Member

@jahvon jahvon commented Oct 15, 2025

Summary

Fixes an issue that prevents the TUI from showing when the user config disables interactive mode but the output flag specifies tui. With this change, the output format flag should always win over the config value. The DISABLE_FLOW_INTERACTIVE env var is still the used to disable the TUI with that flag set.

Notable Changes

  • Removes tui as the default output format
  • Respects the value of --output=tui when the user configs disables the TUI

Closes #328

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 15, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cmd/internal/helpers.go 50.00% 3 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@jahvon jahvon merged commit b3ad06a into main Oct 15, 2025
14 checks passed
@jahvon jahvon deleted the tui-flag-support branch October 15, 2025 23: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.

--output tui does not force TUI when interactive.enabled is false

1 participant