-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update includes files for .NET CLI #50088
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
Update includes files for .NET CLI #50088
Conversation
adegeo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to unblock. A few minor things to fix.
GREAT JOB!
There was a problem hiding this 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 standardizes the .NET CLI documentation by moving shared option and argument descriptions into reusable include files. The changes improve maintainability by centralizing commonly repeated content like --help, --interactive, --verbosity, and other standard CLI options.
Key Changes:
- Modified include files to remove the list item marker (
-) from the beginning of the option definition - Updated all referencing documentation files to add the list item marker (
-) before the[!INCLUDE ...]statement - Deleted redundant include files (
cli-interactive-3-0.md,cli-interactive-5-0.md,cli-arch-no-a.md) in favor of the base versions
Reviewed changes
Copilot reviewed 97 out of 97 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| includes/*.md (29 files) | Removed list item markers from option definitions to enable proper list formatting when included |
| docs/core/tools/dotnet-build.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-clean.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-format.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-help.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-new*.md (7 files) | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-nuget*.md (14 files) | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-pack.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-package*.md (5 files) | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-publish.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-reference*.md (3 files) | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-restore.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-run.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-sdk-check.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-sln.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-store.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-test.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-tool*.md (8 files) | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-watch.md | Added list markers before include statements for standardized options |
| docs/core/tools/dotnet-workload*.md (8 files) | Added list markers before include statements for standardized options |
Summary
This pull request updates several .NET CLI documentation files to standardize the usage of shared option and argument descriptions. The main change is replacing manually written option and argument descriptions with consistent
[!INCLUDE ...]statements that reference shared markdown include files. This improves maintainability and consistency across the documentation.Standardization of CLI option/argument documentation:
--help,--configfile, and--interactivewith[!INCLUDE ...]statements in multiple command docs, includingdotnet build,dotnet clean,dotnet format,dotnet help, and variousdotnet nugetcommands.These changes make the CLI documentation easier to maintain and more consistent for users.
Fixes #49500
Internal previews
Toggle expand/collapse
Note
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.