Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 4, 2025

Summary

The dotnet tool exec documentation was missing the --source CLI option that appears in dotnet tool exec --help output. The --configfile option mentioned in the issue was already documented.

Changes:

  • Added [--source <SOURCE>] to the synopsis section
  • Added the --source option description in an includes file cli-tool-source
  • Also added the missing option to: dotnet tool install and dotnet tool update
Original prompt

This section details on the original issue you should resolve

<issue_title>dotnet tool exec missing CLI options for NuGet config file and NuGet sources</issue_title>
<issue_description>### Type of issue

Missing information

Description

In dotnet/sdk#51994 @afscrome noted that --configfile and --source are missing from this page. We should fill them in, and their content should be the same as those options on the other dotnet tool commands.

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-exec

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-tool-exec.md

Document Version Independent Id

13f795eb-782f-93a4-e6b8-b071a00035fc

Platform Id

0562cb37-b84b-cd5e-946f-2fed3e5e0619

Article author

@meaghanlewis

Metadata

  • ID: 2e0c9772-2db2-9893-4f52-8d55db948269
  • PlatformId: 0562cb37-b84b-cd5e-946f-2fed3e5e0619
  • Service: dotnet-fundamentals

Related Issues


Associated WorkItem - 537545</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-tool-exec.md dotnet tool exec
docs/core/tools/dotnet-tool-install.md dotnet tool install command
docs/core/tools/dotnet-tool-update.md dotnet tool update

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot AI changed the title [WIP] Add missing CLI options for NuGet config file and sources Add missing --source option to dotnet tool exec documentation Dec 4, 2025
Copilot AI requested a review from meaghanlewis December 4, 2025 23:23
Copilot finished work on behalf of meaghanlewis December 4, 2025 23:23
Copilot finished work on behalf of meaghanlewis December 4, 2025 23:46
@dotnet dotnet deleted a comment from Copilot AI Dec 4, 2025
Added description for the --source option in dotnet tool exec.
@meaghanlewis meaghanlewis marked this pull request as ready for review December 5, 2025 17:42
@meaghanlewis meaghanlewis requested a review from a team as a code owner December 5, 2025 17:42
Copilot AI review requested due to automatic review settings December 5, 2025 17:42
Copilot finished reviewing on behalf of meaghanlewis December 5, 2025 17:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds the missing --source CLI option to the dotnet tool exec documentation, addressing issue #50334. The --configfile option mentioned in the issue was already documented.

Key changes:

  • Added [--source <SOURCE>] to the Synopsis section
  • Added the --source option description in the Options section

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@meaghanlewis meaghanlewis marked this pull request as draft December 5, 2025 17:53
@meaghanlewis meaghanlewis marked this pull request as ready for review December 5, 2025 18:43
@meaghanlewis meaghanlewis requested a review from baronfel December 5, 2025 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dotnet tool exec missing CLI options for NuGet config file and NuGet sources

2 participants