Sha256: 33ff58a8263d6ba4537a13d8442a5771bc9acbb7a2bea804de35b44c0975ac8a

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 Bytes

Contents

require_relative 'base'

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

      def subcommands(_values)
        %w[refresh]
      end

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

      def option_default_values(_opts)
        { vars: {}, var_files: [], targets: [] }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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