commandlineparser / commandlineparser/commandline
Parameters based on condition
- Lingua principale
- C#
- Stelle
- 4.8k
- Fork
- 478
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi,
I would to know if it's possibile to configure this kind of commands:
```
--onmatch move "c:\destination\path"
--onmatch copy "c:\destination\path"
--onmatch ignore
```
I mean, if with _onmatch_ parameter I specify the enum _move_ or _copy_, then I also need to fill a **required** _path_ parameter.
On _ignore_, do nothing...
I know I could reach the goal changing the commands as:
```
--onmatchcopyto "c:\destination\path"
--onmatchmoveto "c:\destination\path"
```
in mutual exclusion, but I would to know if it's possibile to implement as in the first example.
#
Tnx,
Giovanni
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.