commandlineparser / commandlineparser/commandline

How to generate help text at runtime for logging purposes

Aperta
#405 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'm trying to find a way to generate the help text (that would be displayed if the user asked for it) at runtime when there is a parsing error. We want to log this help text for console apps that run unattended during the night and where for some reason incorrect args were setup for the job.

I can see stuff like CommandLine.Texy.HelpText.RenderUsage and so on but I have no idea what these do and they don't seem to do what we need.

Many thnaks.

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.