commandlineparser / commandlineparser/commandline
Question: Value parsing based on type
Open
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
I didn't find anything answering my question thus I'm asking here:
Is it possible to parse the options based on the given type? See the following example
```sh
teleport 123 456
```
```sh
tepeport otherside
```
And I have the following options class (record for the sake of brevity):
```c#
public record MyTeleportOptions(string Target, int X, int Y);
```
Is that possible? What other options do I have?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.