vagrant box list is back in business
This commit is contained in:
parent
004ba551a6
commit
127c2a426f
@ -24,7 +24,9 @@ module Vagrant
|
||||
|
||||
desc "list", "Lists all installed boxes"
|
||||
def list
|
||||
# TODO
|
||||
boxes = Box.all(env).sort
|
||||
return env.ui.warn("There are no installed boxes! Use `vagrant box add` to add some.") if boxes.empty?
|
||||
boxes.each { |b| env.ui.info(b) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user