commandlineparser / commandlineparser/commandline
How to avoid any values ?
未关闭
- 主要语言
- C#
- 星标
- 4.8k
- 派生
- 478
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello
I have a console program to create, and I have only options.
How can I do to raise an error and display help when I have some values instead of options ?
Example :
```
MyProgram --option1 --> is ok
MyProgram value1 --> I have to inform user that no values are allowed (and display help)
```
Thanks for advance.
Sybaris
贡献指南
这个仓库没有索引到贡献指南
调研方向
issue 中没有指定文件、测试或入口点。先定位位置值的处理方式;确定额外值是否会因错误而被拒绝并显示帮助信息,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100