spectreconsole / spectre.console

A .NET library that makes it easier to create beautiful console applications.
https://spectreconsole.net
MIT License
8.92k stars 454 forks source link

How do you move -h|--help and -v|--version in the help text? #1494

Open FrankRay78 opened 3 months ago

FrankRay78 commented 3 months ago

Discussed in https://github.com/spectreconsole/spectre.console/discussions/1468

Originally posted by **samuel-lucas6** February 18, 2024 By default, `-h, --help` and `-v, --version` appear at the top of the help text. However, I'd like them at the bottom since the user already knows how to use `--help` to see the help text and `--version` will barely be run compared to other options. Is there any way to move these to the bottom or hide `-h, --help` completely?

Maintainer comment: Currently there is no easy way to do this, however several possible solutions are given in the discussion thread, see link above.


Please upvote :+1: this issue if you are interested in it.