commandlineparser / commandlineparser/commandline

have autohelp print values of enums in verbs?

Aperta
#651 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have several verbs (subcommands) in my app. One of those verbs takes in an enum value. Is there a way where i can have the autohelp print the enum values possible?

or in another way, in

`myapp mysubcommand --help`

i would like to have the help message print the enum values of one of the required parameters. I found other bugs that say how to do it for options only by basically redefining the help in the initial program.cs, but i can't find any way to do it for a verb.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.