Sha256: 3a04dda86bcfb419a31450b12257df25ff5c7e02e21e9d1f57fa497cc06560db

Contents?: true

Size: 358 Bytes

Versions: 12

Compression:

Stored size: 358 Bytes

Contents

class TerraspaceBundler::CLI
  class Base
    include TB::Util::Logging

    def initialize(options={})
      @options = options
      set_config!
    end

    def set_config!
      return unless @options[:terrafile]
      TB.config.terrafile = @options[:terrafile]
      TB.config.lockfile = "#{@options[:terrafile]}.lock"
      TB.config
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
terraspace-bundler-0.5.0 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.4.4 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.4.3 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.4.2 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.4.1 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.4.0 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.3.4 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.3.3 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.3.2 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.3.1 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.3.0 lib/terraspace_bundler/cli/base.rb
terraspace-bundler-0.2.0 lib/terraspace_bundler/cli/base.rb