New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make online help more prominent #26981
Comments
I took a look at |
That could be extended to .NET global tools and then also local tools ( |
@baronfel I think the command line help is great for getting a quick overview of what is available. Often I know what I want to do, but don't remember the exact parameter name I need to use. And in that case the sparse help with just
I am not sure if that is enough to let people know about it, but maybe it is a start and you have some metrics on the usage of @KalleOlaviNiemitalo I would love this to become a widely available capability, with the link to onlinehelp specified at the command/sub-command level. |
If a user runs dotnet commands or tools over SSH or a similar connection, I think having (I'm a bit sad that all documentation is moving online. A spec for how to include detailed offline documentation in a .NET tool package, or link to a separate documentation package, would be cool. It's not the goal of this issue though.) |
Is your feature request related to a problem? Please describe.
dotnet sdk has extensive online help, and sparser commandline help. The online help can be opened by
dotnet help <command>
but nothing in the help suggests it. Even the help of thehelp
command says it will show the command line help, not the online help.On the bottom it suggests using
dotnet command --help
which opens the command line help and not the online help.I think it would be nice to make the possibility to open online help more prominent, because I often look at the commandline help for quick reference, and then end up searching for the same thing online to land on Microsoft docs page.
Second part of my motivation is that specifically, for
dotnet test
we have some commandline help entries that are 10-20 lines. This is hard to read and we often fail to update the help. Having the commandline help show the link on the top, would allow us to reduce the amount of information we put in commandline help to the bare minimum needed for quick overview, while still telling the user how to learn more if needed.Describe the solution you'd like
Add
dotnet <command> --online-help
parameter that opens the respective help page, as alternative to usingdotnet help <command>
. Possibly alias it as-??
and-oh
.Make online help listed in each help section so users using
dotnet <command> --help
can learn about the possibility to open online help.Showing the link directly allows me to just click on it in Windows Terminal.
dotnet --help
section.PS> dotnet --help + Run 'dotnet [command] --help' or 'dotnet [command] --online-help' for more information on a command.
The text was updated successfully, but these errors were encountered: