Sha256: a81fc180c7fe82e4c133e88f1c0ad4df1fd453e05c5238ad486a8db2a8e98ecf

Contents?: true

Size: 928 Bytes

Versions: 1

Compression:

Stored size: 928 Bytes

Contents

# frozen_string_literal: true

module Terradactyl
  module Terraform
    module Rev011
      module Init
        def defaults
          {
            'backend' => true,
            'backend-config' => nil,
            'from-module' => nil,
            'get' => true,
            'get-plugins' => true,
            'input' => true,
            'lock' => true,
            'lock-timeout' => '0s',
            'plugin-dir' => nil,
            'upgrade' => false,
            'verify-plugins' => true,
            'no-color' => false,
            'force-copy' => false,
            'reconfigure' => false
          }
        end

        def switches
          %w[
            no-color
            force-copy
            reconfigure
          ]
        end
      end
    end

    module Rev012
      module Init
        include Rev011::Init
      end
    end

    module Commands
      class Init < Base
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terradactyl-terraform-0.13.0 lib/terradactyl/terraform/commands/init.rb