Method: Jarl.load
- Defined in:
- lib/jarl/base.rb
.load(options) ⇒ Object
Load config and application definitions
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/jarl/base.rb', line 7 def self.load() load_config(['config'] || DEFAULT_JARL_CONFIG_PATH) # puts "Jarl::CLI.options: #{options}" abort 'Docker is not installed' unless Docker.installed? if Jarl.jarl_files.empty? abort 'No *.jarl files found' elsif Jarl.applications.empty? abort 'No application definitions found' end true end |