module Catfish class CLI::Plugin attr_reader :options def initialize(options) @options = options end def run puts 'Installing plugins' builder = Dsl.new builder.eval_catfishfile builder.plugins.each do |plugin| system("vagrant plugin install #{plugin}") unless `vagrant plugin list`.include? plugin end end end end