-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
"dotnet exec" needs to be listed in -h #5573
Comments
What is |
@davidfowl exactly :) |
/cc @blackdwarf @schellap @gkhanna79
|
I concur with @piotrpmsft. Exec is an internal implementation detail and not a formal command. There should not be a need to doc it. |
Agreed with @gkhanna79 and @piotrpMSFT. |
@piotrpMSFT I don't think the value is worth the concept count. I have a different take. It gives me the willies that the tools I depend upon have secret undocumented switches and functionality. I've never seen this in any other tool I use and don't know why dotnet deserves to be the first. |
@ljw1004 This is no different from universal host depending upon the layout of deps.json, as an example, which is an internal implementation detail. |
@gkhanna79 you're making this sound worse not better :) |
All tools have implementation details. |
I would lobby for this to be reopened. The |
I'd like to share another use case for In my integration test, I need to run the application dll and kill it after the test completes. My initial implementation used All of this to say that |
Why do you need explicitly |
How would I use
|
If the command isn't supposed to be used, then at the very least it shouldn't be referenced in documentation. It's also confusing if you check the web.config for a .NET Core web application and see "exec" in the arguments passed to the dotnet command - which is how I came to find it. If users aren't supposed to use the command directly, then say so in the documentation. But don't cause confusion by using referencing the command in multiple places, but NOT documenting it. |
I recently found docs which specifically recommend usage of
|
I also found it confusing when looking through the logs of a build and see it is running code using an undocumented 'exec' command instead of the normal 'run'. |
I have found |
Steps to reproduce
(1) do
dotnet -h
(2) do
dotnet exec -h
Expected behavior
(1) should list
exec
amongst the possible command(2) should provide help about
dotnet exec
Actual behavior
(1) it doesn't
(2) it doesn't
Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: