dominictarr / npmd

MIT License
450 stars 37 forks source link

install --greedy + multiple package names #64

Open timoxley opened 10 years ago

timoxley commented 10 years ago

npmd install --greedy mocha tape tap appears to ignore the first package argument:

npmd install --greedy mocha tape tap
{
  "tape": {
    "name": "tape",
    "version": "2.12.3",
    "shasum": "5559d5454050292627537c012991ec6971f66156",
    "path": "/Users/timoxley/Projects/test/m/node_modules/tape"
  },
  "tap": {
    "name": "tap",
    "version": "0.4.9",
    "shasum": "8c264ea2936a923b1cbb342aeb8d4032fda202a5",
    "path": "/Users/timoxley/Projects/test/m/node_modules/tap"
  }
}
dominictarr commented 10 years ago

Oh right, that is because of how optimist thinks --greedy=tape it, I've set it to be a boolean type. reinstall npmd, you should get npmd-config@1.0.12 and that will work.