commandlineparser / commandlineparser/commandline
Question: Value parsing based on type
Aperta
- Lingua principale
- C#
- Stelle
- 4.8k
- Fork
- 478
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.