commandlineparser / commandlineparser/commandline

Is it possible to create options with conditional parameters with help generation like in linux tail?

Abierto
#952 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
4.8k
Forks
478
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

In linux `tail` option `-f` and `--follow` are distinct in that former do not allow to set any values, but latter allow to set `name` or `descriptor` values.
```
-f, --follow[={name|descriptor}]
output appended data as the file grows;
an absent option argument means 'descriptor'
```

Is it possible to define options class to allow that **with** automatic help generation accordingly?
If it is not possible to generate help, is it possible to just create options to allow the distinction?

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.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.