commandlineparser / commandlineparser/commandline
Parameters based on condition
- Lenguaje dominante
- C#
- Estrellas
- 4.8k
- Forks
- 478
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.