Class: Veewee::Command::BaseboxTemplates
- Inherits:
-
Vagrant::Command::Base
- Object
- Vagrant::Command::Base
- Veewee::Command::BaseboxTemplates
- Defined in:
- lib/veewee/command/basebox_templates.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_templates.rb', line 6 def execute = {} opts = OptionParser.new do |opts| opts. = "List the currently available basebox templates" opts.separator "" opts.separator "Usage: vagrant basebox templates" end # Parse the options argv = (opts) return if !argv Veewee::Session.list_templates end |