dotnet / dotnet/command-line-api

Usage shows Project name instead of the tool name.

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

説明

Example I have something as follows :
I have Bar.csproj as follows.
```
true
foo
```
The usage of the command is shown as follows when we type the command foo.
```
Usage:
Bar [options] [command]

Options:
--version Display version information
```

I Was expecting :

```
Usage:
foo [options] [command]

Options:
--version Display version information
```

Is this a bug or by design? If not please advise on how to package. Thank you.

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

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

調査の方向性

まず、PackAsTool を含み、ToolCommandName が foo に設定された Bar.csproj を使用して、パッケージ化されたコマンドを再現します。表示された Usage 名を呼び出したコマンド名と比較し、想定される動作について issue の議論を確認します。動作が修正されるか、パッケージ化の動作が明確に文書化されれば完了です。

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

評価

技術スタック
csharp
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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