commandlineparser / commandlineparser/commandline
Default verb handling
未关闭
question
- 主要语言
- C#
- 星标
- 4.8k
- 派生
- 478
- PR 合并指标
- 30 天内没有已合并 PR
描述
What is the best way to support a default verb? Currently it seems to be no way to define some verbs and one default verb without a name.
call `tool.exe` -> default verb handling
call `tool.exe [verbname]` -> verb handling
Thanks for this great library!
Maybe it is in context the same behaviour like #652
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先检查此 issue 中的两种调用形式以及 #652 中的相关行为,然后跟踪当前对命名 verb 的处理方式。完成标准是 `tool.exe` 选择一个已定义的默认 verb,而 `tool.exe [verbname]` 保留命名 verb 的处理;issue 中尚未确定相关的 parser 入口点和测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100