commandlineparser / commandlineparser/commandline

Simpler Way to Display Enum Values

未關閉
#739 6 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 行為進行比較。當使用者可以透過更簡單的選項定義有效的 enum 值,而不必重新實作預設 HelpText 的顯示時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。