commandlineparser / commandlineparser/commandline

How to generate help text at runtime for logging purposes

Open
#405 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.