dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.6k stars 1.03k forks source link

Create a `solution` alias for the existing `sln` command #40817

Open baronfel opened 2 months ago

baronfel commented 2 months ago

Is your feature request related to a problem? Please describe.

We should add a solution alias to the existing sln command. The current implementation of the sln command interacts with .sln files, but the new .slnx file format logically supports many of the same commands. Some quick surveys suggest that most users want the current sln command to interact with .slnx files, but the sln name could present some confusion. Adding a solution command

kunalshokeen051 commented 2 months ago

Hi @baronfel I am new to Open-Source Can i work on this issue.

baronfel commented 2 months ago

Awesome @kunalshokeen051 - I want to check with the rest of the team to make sure we want to do this, but once we chat about it and agree I'd love to accept a PR from you!

baronfel commented 2 months ago

@kunalshokeen051 Ok, I've taken this to the team and we're all on board with the change. If you'd like to submit a PR we'd be happy to review and help get it merged.

Nirmal4G commented 3 weeks ago

Why not the other way around?

Instead of just adding a solution alias to the sln command, can we rename the sln to solution command and make the command sln as a short-hand alias?

baronfel commented 3 weeks ago

That'd be fine - there's no huge functional difference.

Nirmal4G commented 3 weeks ago

@baronfel Okay then, seems simple enough! If @kunalshokeen051 still wants to do it, please confirm, otherwise I can take it up.