commandlineparser / commandlineparser/commandline
Add Overload :: Parser.ParseArguments(string args)
未关闭
- 主要语言
- C#
- 星标
- 4.8k
- 派生
- 478
- PR 合并指标
- 30 天内没有已合并 PR
描述
Is there any interest in allowing the `ParseArguments` method to accept a single scalar argument?
My use case is a console app that, if no arguments are supplied, goes into REPL mode.
I'd like to use this package to handle text the user puts into the REPL but it comes as a single `string`, not a `string[]`. I can roll my own or look for another package but figured I'd ask.
If there's interest, I'll work on PR.
贡献指南
这个仓库没有索引到贡献指南
调研方向
请求的入口点是 ParseArguments,它目前接受 string[];首先找到该方法和现有的 API 测试。确定相对于数组重载而言应如何解释标量字符串,然后验证新的重载能够处理 REPL 输入,同时不改变现有的参数解析行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100