commandlineparser / commandlineparser/commandline
Usage of `dotnet tools` on assemblies with CommandLineParser results in unexpected output
- Langage dominant
- C#
- Étoiles
- 4.8k
- Forks
- 478
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire le comportement avec `dotnet ef migrations list` sur un assembly ASP.NET Core utilisant CommandLineParser. Suivez la manière dont le parseur traite les arguments fournis par l’outil, y compris l’option inattendue `applicationName`. Le travail est terminé lorsque la commande de l’outil n’émet plus de sortie du parseur, tandis que les options seed, test et auth documentées de l’application continuent de fonctionner.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100