Skip to content

cargo add <package> #4

Closed
Closed
@shadowmint

Description

@shadowmint

This is probably a no brainer, but I thought I'd drop it in here as a yes-please feature request.

I just discovered that with bower and npm if you install a package into a local directory scope (eg. bower install moment) with a particular flag (in this case bower install moment -S) it not only installs the moment recent version of the package into the local folder; it updates the manifest file automatically:

{
  "name": "configtool",
  "version": "0.1.0",
  "dependencies": {
    "underscore": "1.5.2",
    "angular": "1.2.3",
    "angular-resource": "1.2.3",
    "angular-sanitize": "~1.2.3",
    "momentjs": "~2.5.1" // <---- This gets automatically added 
  }
}

This is a really lovely workflow to use, I thought I'd drop it in here as a feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions