Sha256: ff55d808b2d08c05e4e54c24e9b9d23b8223234f04761d255c30e26b17fd3b2b
Contents?: true
Size: 630 Bytes
Versions: 26
Compression:
Stored size: 630 Bytes
Contents
require 'optparse' require_relative "base" module VagrantPlugins module CommandPlugin module Command class Repair < Base def execute opts = OptionParser.new do |o| o.banner = "Usage: vagrant plugin repair [-h]" end # Parse the options argv = parse_options(opts) return if !argv raise Vagrant::Errors::CLIInvalidUsage, help: opts.help.chomp if argv.length > 0 # Attempt to repair installed plugins action(Action.action_repair) # Success, exit status 0 0 end end end end end
Version data entries
26 entries across 22 versions & 4 rubygems