commandlineparser / commandlineparser/commandline

Configurable conventions

Open
#402 2 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

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?

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.