Sha256: 046c2e3ddbd9e7c6ff9e7f7d2843366c344a13b13524cd0a0391ca97f90567d3
Contents?: true
Size: 619 Bytes
Versions: 2
Compression:
Stored size: 619 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, libraries: Arli.config.install.library_names) end def params "libraries: \n • " + arlifile.dependencies.map(&:name).join("\n • ") end def run arlifile.each_dependency { |lib| lib.install } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arli-0.7.0 | lib/arli/commands/install.rb |
arli-0.6.2 | lib/arli/commands/install.rb |