Sha256: a5ed2bb77cbc3a5728093a20b514dce78fd444359792a5a57ac7d5dd754f81cf

Contents?: true

Size: 484 Bytes

Versions: 5

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'
require_relative '../options/common'

module RubyTerraform
  module Commands
    class ProvidersLock < Base
      include RubyTerraform::Options::Common

      def subcommands
        %w[providers lock]
      end

      def options
        %w[
          -fs-mirror
          -net-mirror
          -platform
        ] + super
      end

      def arguments(parameters)
        [parameters[:providers]]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.14 lib/ruby_terraform/commands/providers_lock.rb
ruby-terraform-0.65.0.pre.13 lib/ruby_terraform/commands/providers_lock.rb
ruby-terraform-0.65.0.pre.12 lib/ruby_terraform/commands/providers_lock.rb
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/commands/providers_lock.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/commands/providers_lock.rb