commandlineparser / commandlineparser/commandline
Keeping everything as is just with HelpText.AdditionalNewLineAfterOption = false
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I would like to keep everything as is just have the additional newlines removed in the help output. I have been trying to achieve this for one hour now, but when I create my own parser with new Parser(with => with.HelpWriter = null) and try to display help myself, it won't work with custom help for custom commands, i.e. myapp help add will no longer print the specific help for the add command.
So how can I just get rid of those additional newlines in the help screens and keep everything else as it is? Is it possible at all?
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 HelpText.AdditionalNewLineAfterOption 開始,追蹤 Parser 和 HelpWriter 如何產生說明輸出。檢查現有的自訂命令流程,尤其是 myapp help add,並將完成定義為移除額外的換行,同時保留命令專屬的說明內容。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100