dotnet / dotnet/command-line-api
Missing argument sequence based on argument name
Open
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
There is a really confusing/silent error based on the name of a sequence argument
```cs
new Argument("file").ExistingOnly();
```
Builds and executes fine, but the resulting array always has size 0.
If I change the argument name from `file` to `files` I suddenly get the argument populated!
Contributor guide
Assessment
This issue has not been assessed yet.