Class: Arli::Commands::Bundle
Constant Summary
Constants included from Helpers::Output
Helpers::Output::CHAR_FAILURE, Helpers::Output::CHAR_SUCCESS
Instance Attribute Summary collapse
-
#arlifile ⇒ Object
Returns the value of attribute arlifile.
-
#lock_file ⇒ Object
Returns the value of attribute lock_file.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #library_path, #runtime, #temp_path
Methods included from Helpers::Output
#___, #__p, #__pf, #__pt, #abort?, #action_fail, #action_ok, #backup?, #cursor, #debug, #debug?, disable!, enable!, enabled?, #error, #fuck, #header, #hr, #indent_cursor, #info, #ok, #overwrite?, #print_action_failure, #print_action_starting, #print_action_success, #print_target_dir, #quiet?, #raise_invalid_arli_command!, #report_exception, #verbose?
Constructor Details
This class inherits a constructor from Arli::Commands::Base
Instance Attribute Details
#arlifile ⇒ Object
Returns the value of attribute arlifile.
13 14 15 |
# File 'lib/arli/commands/bundle.rb', line 13 def arlifile @arlifile end |
#lock_file ⇒ Object
Returns the value of attribute lock_file.
13 14 15 |
# File 'lib/arli/commands/bundle.rb', line 13 def lock_file @lock_file end |
Instance Method Details
#params ⇒ Object
21 22 23 24 25 |
# File 'lib/arli/commands/bundle.rb', line 21 def params if arlifile&.libraries "libraries: \n • " + arlifile.libraries.map(&:name).join("\n • ") end end |
#run ⇒ Object
27 28 29 |
# File 'lib/arli/commands/bundle.rb', line 27 def run install_with_arli_file end |
#setup ⇒ Object
15 16 17 18 19 |
# File 'lib/arli/commands/bundle.rb', line 15 def setup super self.arlifile = Arli::ArliFile.new(config: config) self.lock_file = Arli::Lock::File.new(config: config, arlifile: arlifile) end |