-
Notifications
You must be signed in to change notification settings - Fork 6.1k
file-based program document enhancement #49928
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
Conversation
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 updates the System.CommandLine package version reference and adds documentation for using the env command in shebang configuration for Unix-based systems.
- Updates System.CommandLine version from
2.0.0-beta6to2.0.0 - Adds documentation for using
#!/usr/bin/env dotnetas an alternative shebang configuration - Changes the Unix command reference from
whence dotnettowhere dotnet
BillWagner
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.
Thanks @WeihanLi
I'll
now.
This pull request updates the documentation for running file-based C# apps on Unix systems and revises the recommended version for the
System.CommandLineNuGet package. The changes clarify how to resolve thedotnetexecutable path and ensure security by suggesting the latest stable package version.Improvements to Unix execution instructions:
dotnetexecutable: replaced the incorrectwhence dotnetcommand withwhere dotnet, and added an alternative using the shebang#!/usr/bin/env dotnetfor automatic PATH resolution.Documentation update for package versioning:
System.CommandLinefrom2.0.0-beta6to the stable2.0.0, ensuring users are directed to use the latest secure release.Internal previews