commandlineparser / commandlineparser/commandline
Keeping everything as is just with HelpText.AdditionalNewLineAfterOption = false
- Langage dominant
- C#
- Étoiles
- 4.8k
- Forks
- 478
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par HelpText.AdditionalNewLineAfterOption et suivez la manière dont Parser et HelpWriter produisent la sortie d’aide. Vérifiez le flux existant des commandes personnalisées, en particulier `myapp help add`, et considérez le travail comme terminé lorsque les retours à la ligne supplémentaires sont supprimés tout en préservant l’aide spécifique à la commande.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100