commandlineparser / commandlineparser/commandline

Usage of `dotnet tools` on assemblies with CommandLineParser results in unexpected output

Đang mở
#931 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

I was trying to add **CommandLineParser** to a _asp.net core_ project of mine to conditionally apply seed and test data on runs.

If I run any sort of tool on the assembly I get output from the Parser.

F.e. `dotnet ef migrations list`

```
ERROR(S):
Option 'applicationName' is unknown.

-s, --seed Seed required data.

-t, --test Seed data for dev and testing purposes.

-a, --auth Seed auth data.

--help Display this help screen.

--version Display version information.
```

I'm assuming that the tools themselves are passing these options or something along the line. Everything seems to work properly, but is this something other people have dealt with in some way?

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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.