`vagrant box list` is back in business

This commit is contained in:
Mitchell Hashimoto 2010-08-24 17:02:02 -07:00
parent 004ba551a6
commit 127c2a426f
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ module Vagrant
desc "list", "Lists all installed boxes" desc "list", "Lists all installed boxes"
def list 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 end
end end