commandlineparser / commandlineparser/commandline
Multi-instance option not supported
Đang mở
- Ngôn ngữ chính
- C#
- Star
- 4.8k
- Fork
- 478
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
``` C#
public class Arguments
{
[Option("arg1", Required = true)]
public string Arg1 { get; set; }
[Option("arg2", Required = true)]
public IEnumerable Arg2 { get; set; }
}
```
When i call:
``` C#
// In console: --arg1=test --arg2=Value1 --arg2=Value2
var args = new [] { "--arg1=test", "--arg2=Value1", "--arg2=Value2" };
var arguments = Parser.Default.ParseArguments(args)
```
I have RepeatedOptionError
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.