Q = require 'q'
cli = require '../cli'
module.exports = (program) -> program
.command('install [names]')
.description('install virtual machines with ievms')
.option('-X, --no-reuse-xp', 'Do not reuse the XP VM for IE7 and IE8')
.option('-7, --no-reuse-7', 'Do not reuse the Win7 VM for IE10 and IE11')
.option('-s, --shrink', 'Shrink the virtual machines after installing')
.action (names, command) ->
cli.fail cli.find(names).found().then (vms) ->
names = names.split '' if names?
names ?= []
Lookout below =/