commandlineparser / commandlineparser/commandline
Simpler Way to Display Enum Values
- 主要言語
- C#
- スター
- 4.8k
- フォーク
- 478
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hey all - apologies if this exists, can't find it easily.
I'm looking for an easier capability to display the valid enum values. I don't need any custom HelpText behavior whatsoever, and it looks like there's a nontrivial amount of work to capture the full functionality of the default HelpText portion.
There should be an option (top-level on the Parser instantiation?) that lets you trivially define these enum values without having to reimplement any bits of the default HelpText display.
Cheers!
Sven
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、Parser のインスタンス化で enum 値がどのように処理され、デフォルトの HelpText がそれらをどのようにレンダリングするかを追跡します。その経路を、issue で説明されているカスタム HelpText の動作と比較します。ユーザーがデフォルトの HelpText の表示を再実装せずに、より簡単なオプションで有効な enum 値を定義できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100