Sha256: 6bbe397510c63179112590ddf44fc8ade2a7e7a78edd38c6fdcff6a384b8be8f

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyTerraform
  module Commands
    class Refresh < Base
      def options
        %w[
          -input
          -no-color
          -state
          -target
          -var
          -var-file
        ]
      end

      def subcommands(_parameters)
        %w[refresh]
      end

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

      def parameter_defaults(_parameters)
        { vars: {}, var_files: [], targets: [] }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.9 lib/ruby_terraform/commands/refresh.rb