commandlineparser / commandlineparser/commandline

Configurable conventions

Abierto
#402 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
4.8k
Forks
478
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.