commandlineparser / commandlineparser/commandline

Parsing key-value pairs

未關閉
#19 7 則留言 11 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
4.8k
分支
478
PR 合併指標
30 天內沒有已合併 PR

描述

**Issue by [mr-miles](https://github.com/mr-miles)**
_Wednesday Mar 26, 2014 at 18:36 GMT_
_Originally opened as https://github.com/gsscoder/commandline/issues/122_

----

Is it possible to use the parser to populate key-value pairs?

So something like "myapp.exe -v:a=x -v:b=y -v:c=z" would populate a property v which is a Dictionary with (a,x), (b,y), (c,z) values?

I want to use the parser to specify replacements to be made on a text file

Great package by the way!

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先檢查命令列解析器的選項解析和屬性繫結進入點,以了解目前如何處理重複的鍵值選項。重現使用 -v:a=x、-v:b=y 和 -v:c=z 的範例;當解析器能夠使用這些鍵值對填入 Dictionary,或明確記錄不支援此功能的原因時,即視為完成。

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

評估

技術堆疊
csharp
領域
cli
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
25/100

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

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