commandlineparser / commandlineparser/commandline

Ability to use Object/Tuple as Option

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

Description

Thanks for this awesome library!

Is there any possibility to to something like this:

```csharp
[Option('p', "position", Required = true, HelpText = "This will be cool")]
public object Position{ get; set; }
```

console:
```set-position -p {1,1,1}```

of course `Position` can be a typed object as well or maybe a tuple...
What do you think?

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.