Skip to content

Commit

Permalink
cli arg platform/arch
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Jun 8, 2016
1 parent 48952d2 commit 0bdfe27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ var evm = require('./')
switch (args[0]) {
case 'install':
case 'use':
evm[args[0]]({ version: args[1] }, function (err) {
evm[args[0]]({
version: args[1], platform: args[2], arch: args[3]
}, function (err) {
// if (err) throw err
if (err) console.error(err)
})
Expand Down

1 comment on commit 0bdfe27

@fritx
Copy link
Member Author

@fritx fritx commented on 0bdfe27 Jun 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.