Sha256: 1a06fc7da68dd671d2e6f2356c50e5c35ab56d861b7dc3cbc989530bad458453

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

require 'json'
require 'arli'
require 'net/http'
require_relative 'base'
require_relative '../installer'

module Arli
  module Commands
    class Install < Base

      attr_accessor :arlifile

      def initialize(*args)
        super(*args)
      end

      def setup
        self.arlifile = Arli::ArliFile.new(config: config)
      end

      def params
        arlifile.file
      end

      def run
        arlifile.each_dependency { |lib| lib.install }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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