Sha256: 266c216e2ad74669b3d3db1a3a510d301ddaadbc2b2153536fd523f337b0d5da
Contents?: true
Size: 587 Bytes
Versions: 4
Compression:
Stored size: 587 Bytes
Contents
module Veewee module Command class BaseboxUndefine < Vagrant::Command::Base def execute options = {} opts = OptionParser.new do |opts| opts.banner = "Removes the definition of a basebox " opts.separator "" opts.separator "Usage: vagrant basebox undefine <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.undefine(argv[0]) end end end end
Version data entries
4 entries across 4 versions & 2 rubygems