commandlineparser / commandlineparser/commandline

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

Open
#931 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.