commandlineparser / commandlineparser/commandline
Keeping everything as is just with HelpText.AdditionalNewLineAfterOption = false
- Linguagem predominante
- C#
- Estrelas
- 4.8k
- Forks
- 478
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece com HelpText.AdditionalNewLineAfterOption e acompanhe como Parser e HelpWriter produzem a saída de ajuda. Verifique o fluxo existente de comandos personalizados, especialmente `myapp help add`, e defina como concluído remover as quebras de linha adicionais preservando a ajuda específica do comando.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100