Skip to content
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

fix(cli): dotnet help new link opening #45282

Merged

Conversation

ajpinedam
Copy link
Contributor

closes #45231

This PR fixes the issue where the dotnet help new command does not open the online documentation.

The solution was adding an interface ICommandDocument that both DocumentedCommand and NewCommand could implement and then use this to validate the existence of a link.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Dec 3, 2024
@ajpinedam
Copy link
Contributor Author

Running the dotnet CLI locally with the fix in this PR, shows the new command online documentation opening when executing dotnet help new

dotnet_cli_help_new_fix_smaller.mp4

@ajpinedam ajpinedam marked this pull request as ready for review December 3, 2024 18:45
@ajpinedam ajpinedam requested a review from a team as a code owner December 3, 2024 18:45
@ajpinedam ajpinedam force-pushed the fix/ajpinedam/dotnet.help.new.link.opening branch from 7aacb36 to fcb76d9 Compare December 3, 2024 23:39
Copy link
Member

@Forgind Forgind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this 🙂 Thanks for the contribution!

@ajpinedam ajpinedam force-pushed the fix/ajpinedam/dotnet.help.new.link.opening branch from fcb76d9 to ac48207 Compare December 5, 2024 04:16
@marcpopMSFT
Copy link
Member

/backport to release/9.0.2xx

Copy link
Contributor

Started backporting to release/9.0.2xx: https://github.com/dotnet/sdk/actions/runs/12264978382

@baronfel baronfel merged commit 1b0a6ee into dotnet:main Dec 10, 2024
37 of 38 checks passed
@ajpinedam ajpinedam deleted the fix/ajpinedam/dotnet.help.new.link.opening branch December 11, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dotnet CLI: "dotnet help new" does not work
4 participants