commandlineparser / commandlineparser/commandline
How to generate help text at runtime for logging purposes
未關閉
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
檢視提到的 CommandLine.Texy.HelpText.RenderUsage API 和解析錯誤路徑,以確定目前如何產生說明文字。重現無人值守主控台應用程式情境,並將記錄在要求時會顯示的相同說明文字定義為完成條件。未指定檔案或測試,因此需要探索 repository 並釐清範圍。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100