Sha256: 6f77e04a55be08f761c940f822376fd8e29037138ba2ff50e33c2180cf1a4a49
Contents?: true
Size: 654 Bytes
Versions: 2
Compression:
Stored size: 654 Bytes
Contents
require 'json' require 'optparse' require_relative "push_shared" module VagrantPlugins module CommandSnapshot module Command class Pop < Vagrant.plugin("2", :command) include PushShared def execute opts = OptionParser.new do |o| o.banner = "Usage: vagrant snapshot pop [options] [vm-name]" o.separator "" o.separator "Restore state that was pushed with `vagrant snapshot push`." end # Parse the options argv = parse_options(opts) return if !argv return shared_exec(argv, method(:pop)) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-unbundled-1.8.1.2 | plugins/commands/snapshot/command/pop.rb |
vagrant-unbundled-1.8.1.1 | plugins/commands/snapshot/command/pop.rb |