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

Comments

3 participants
@sayedihashimi
Member

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

This comment has been minimized.

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

This comment has been minimized.

Member

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 Issues in Command Line Feb 28, 2017

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

@mlorbetske

This comment has been minimized.

Member

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