Class: Terraspace::CLI::Base

Inherits:
Object
  • Object
show all
Extended by:
Memoist
Includes:
Util
Defined in:
lib/terraspace/cli/base.rb

Instance Method Summary collapse

Methods included from Util::Pretty

#pretty_path, #pretty_time

Methods included from Util::Sure

#sure?

Methods included from Util::Logging

#logger

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
9
10
# File 'lib/terraspace/cli/base.rb', line 6

def initialize(options={})
  @options = options
  @mod = Terraspace::Mod.new(options[:mod], @options) # mod metadata
  @mod.check_exist!
end