commandlineparser / commandlineparser/commandline

Configurable conventions

Ouverte
#402 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
4.8k
Forks
478
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

This is a feature request / question.

I'm trying to implement the parser for an unity application. Sadly unity uses different conventions for command line arguments: https://docs.unity3d.com/Manual/CommandLineArguments.html

Is there any way I can configure the parser to use single dashes for the full name (and single dashes for spaces)?

Currently it's not possible for me to use both concurrently:

```ps
& '.\My UnityApp.exe' --configpath="config.json" -logFile log.txt -screen-fullscreen
1 -screen-height 1200 -screen-width 1920
```

Breaks because `RepeatedOptionError` at `configpath`. I understand why this happens but it's blocking me currently.

Does this require a change on the source code of the parser or am I missing something?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.