Class: Veewee::Command::BaseboxList
- Inherits:
-
Vagrant::Command::Base
- Object
- Vagrant::Command::Base
- Veewee::Command::BaseboxList
- Defined in:
- lib/veewee/command/basebox_list.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/veewee/command/basebox_list.rb', line 6 def execute = {} opts = OptionParser.new do |opts| opts. = "Lists all defined baseboxes" opts.separator "" opts.separator "Usage: vagrant basebox list" end # Parse the options argv = (opts) return if !argv Veewee::Session.list_definitions end |