Flagsmith / Flagsmith/flagsmith-cli

Ensure prompt output consistently uses stderr in raw-TTY mode

オープン
#51 コメント 0 件 リアクション 0 件 担当者 1 名 @khvn26 が担当を希望しています GitHub で見る
主要言語
Go
スター
12
フォーク
3
平均マージ
14時間 56分
マージ済み PR(30日)
8

説明

Currently, `prompt.run` configures `huh.Form.WithOutput(streams.ErrOut)` only for accessible-mode prompts. In raw-TTY mode, the form uses huh's default TUI output stream, despite the `prompt.IO` documentation stating that prompts go to `ErrOut`.

Use `huh.Form.WithOutput(streams.ErrOut)` unconditionally.

### Backlinks

- Source PR: https://github.com/Flagsmith/flagsmith-cli/pull/43
- Review discussion: https://github.com/Flagsmith/flagsmith-cli/pull/43#discussion_r3666673374

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。