commandlineparser / commandlineparser/commandline
Support for numbers as short options
未關閉
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
We have the following options definition:
[Option('1', "readlog1", HelpText = "Reads log entries from the Log 1 memory.")]
public bool ReadLog1 { get; set; }
[Option('2', "readlog2", HelpText = "Reads log entries from the Log 2 memory.")]
public bool ReadLog2 { get; set; }
It looks like the short options don't work because they are numbers.
Is there any special reason for this?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先追蹤短選項的解析方式,以及 Option 屬性如何驗證或註冊數字名稱。為 `Option('1', ...)` 和 `Option('2', ...)` 範例新增涵蓋,並在接受數字短選項且測試通過時視為工作完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100