Sha256: c2867b3fe1f6863dee01f7a0e1217b5928c52156a483b8c0b6caa84043c62cf8

Contents?: true

Size: 425 Bytes

Versions: 5

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

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

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

      def subcommands
        %w[providers mirror]
      end

      def options
        %w[-platform] + super
      end

      def arguments(parameters)
        [parameters[:directory]]
      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_mirror.rb
ruby-terraform-0.65.0.pre.13 lib/ruby_terraform/commands/providers_mirror.rb
ruby-terraform-0.65.0.pre.12 lib/ruby_terraform/commands/providers_mirror.rb
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/commands/providers_mirror.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/commands/providers_mirror.rb