Sha256: 8d35b96f9f062782c42cfdc027270a6d053393195d25c0ef3d92b6f80e2ab759
Contents?: true
Size: 594 Bytes
Versions: 4
Compression:
Stored size: 594 Bytes
Contents
module Veewee module Command class BaseboxExport < Vagrant::Command::Base def execute options = {} opts = OptionParser.new do |opts| opts.banner = "Exports the basebox to the vagrant box format" opts.separator "" opts.separator "Usage: vagrant basebox export <boxname>" end # Parse the options argv = parse_options(opts) return if !argv raise Vagrant::Errors::CLIInvalidUsage, :help => opts.help.chomp if argv.length < 1 Veewee::Session.export_box(argv[0]) end end end end
Version data entries
4 entries across 4 versions & 2 rubygems