dotnet / dotnet/command-line-api

Suggestions don't work when tool is invoked as a dotnet subcommand

オープン
#2,129 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Area-Completions bug duplicate
主要言語
C#
スター
3.7k
フォーク
428
PR マージ指標
30日以内にマージされた PR はありません

説明

I have a tool named `dotnet-shift`.

The tool can either be invoked as `dotnet-shift`, or it can be invoked as `dotnet shift`.

When the former syntax is used to invoke the tool, the command completions work.
And when the latter is used, they don't.

My understanding is that for this to work, the .NET SDK should pass on the request for suggestions to the tool that gets invoked.

cc @jonsequitur @adamsitnik

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

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

調査の方向性

まず、`dotnet-shift` と `dotnet shift` の両方として呼び出されるツールの補完を再現し、次に dotnet サブコマンドに対する候補リクエストがどのように処理されるかを追跡します。.NET SDK がツールにリクエストを転送する必要がある箇所を特定します; 両方の呼び出し形式で動作するコマンド補完が提供されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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