Sha256: ba2d4cf082c67c416e8010176e5a033fb86d485abc3cdedb2e612eae1347fb34

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

require 'json'
require 'arli'
require 'net/http'
require_relative 'base'
require_relative '../installers/zip_file'

module Arli
  module Commands
    class Install < Base

      def initialize(options)
        super(options)
        self.arlifile = Arli::ArliFile.new(lib_path:      lib_path,
                                           arlifile_path: options[:arli_dir])
      end

      def run
        arlifile.each_dependency do |lib|
          Arli::Installer.new(lib: lib, command: self).install
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arli-0.5.1 lib/arli/commands/install.rb