dotnet / dotnet/command-line-api
Typo correction suggestions should go to IConsole.Error rather than IConsole.Out
オープン
- 主要言語
- C#
- スター
- 3.7k
- フォーク
- 428
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
System.CommandLine.Invocation.TypoCorrection writes to IConsole.Out. It should instead write to IConsole.Error, because the output does not come from an invoked Command and instead relates to the "Unrecognized command or argument" message that was written to IConsole.Error.
Observed in 2.0.0-beta4.22272.1.
_Originally noted in https://github.com/dotnet/command-line-api/pull/2001#discussion_r1054777220_
コントリビューションガイド
調査の方向性
リポジトリで System.CommandLine.Invocation.TypoCorrection を検索し、IConsole.Out または IConsole.Error に書き込んでいる箇所を調べます。誤字の候補が「Unrecognized command or argument」メッセージに付随していることを確認し、その後、出力先を修正した状態で関連するコマンドラインの動作を検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 55/100