Sha256: 7299e9a95a544a5f2554cc4049fea10d15f5d8c260594d9c9f64b700163ec43b

Contents?: true

Size: 438 Bytes

Versions: 5

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

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

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

      def subcommands
        %w[get]
      end

      def options
        %w[
          -no-color
          -update
        ] + 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/get.rb
ruby-terraform-0.65.0.pre.13 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.65.0.pre.12 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/commands/get.rb