Skip to content
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 --install to support --version for package version #330

Closed
sayedihashimi opened this issue Feb 15, 2017 · 3 comments
Closed

Update --install to support --version for package version #330

sayedihashimi opened this issue Feb 15, 2017 · 3 comments
Milestone

Comments

@sayedihashimi
Copy link
Member

@sayedihashimi sayedihashimi commented Feb 15, 2017

dotnet new --install should be consistent with dotnet add. Specifically we should add a -v|--version parameter instead of what we have today.

@blackdwarf
Copy link

@blackdwarf blackdwarf commented Feb 15, 2017

There is a small gotcha here. --install supports installing from file shares and NuGet, correct? However, as we discussed, in the future it may be a lot more potential sources. It will get tricky because for some of those sources the --version will not make sense. We need to sit down and design this somewhat. :)

@sayedihashimi
Copy link
Member Author

@sayedihashimi sayedihashimi commented Feb 15, 2017

Today we support --install to a NuGet package or a folder. Later we may add sources like git. As you stated in the NuGet case we can have a --version and in the git case we may have a --branch. We'll have to figure out what's the right experience for this. We can chat more next week when we meet.

@mlorbetske mlorbetske added this to the Backlog milestone Apr 27, 2017
@mlorbetske
Copy link
Contributor

@mlorbetske mlorbetske commented May 26, 2017

In the latest version, the ::* syntax is no longer required. dotnet new --install {packageid} will install the latest available version

@mlorbetske mlorbetske closed this May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants