Method: Coherent::Commands::Install#parse!
- Defined in:
- lib/plugin/commands/install.rb
#parse!(args) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/plugin/commands/install.rb', line 60 def parse!(args) .parse!(args) environment = @base_command.environment install_method = determine_install_method puts "Plugins will be installed using #{install_method}" if $verbose args.each do |name| Coherent::Plugin.find(name).install(install_method, @options) end rescue StandardError => e puts "Plugin not found: #{args.inspect}" puts e.inspect if $verbose exit 1 end |