-
Notifications
You must be signed in to change notification settings - Fork 224
Implement kpm install #201
Comments
kpm install exists? |
Ah! It does not exist. |
It is actually a good feature. We can install a single package instead of going through all the packages and the dependency tree for the project. |
@suhasj you still have to walk the dependency tree, that doesn't change. It's equivalent to adding it by hand and calling restore |
We will implement this at some point. Changed the title to reflect that. |
To begin with we should implement Both name and version would be mandatory, since I am fairly certain we don't allow empty versions in project.json anymore. The command would simply add the given values to the project.json. We could add an install command later that calls add and then restore. But add is the primitive that we need to begin with. |
If you omit version, shouldn't it lookup the latest version, then add that? Like |
It does |
Ah. Good. I was just commenting on the last comment that said "Both name and version would be mandatory". |
Hi @Alxandr , for |
The command 'kpm install' does not seem to install the specific package as intended. Tried this from the location of the app root which has the project.json but the package is not installed. If this does work, need more pointers for this
Commands tried
The text was updated successfully, but these errors were encountered: