Sha256: 595297d5917ec19d3d352b448efea05e706c6a49e3c4e5cd3f55a4bc6a142ffb

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyTerraform
  module Commands
    class Validate < Base
      def options
        %w[
          -check-variables
          -json
          -no-color
          -state
          -var
          -var-file
        ]
      end

      def subcommands(_parameters)
        %w[validate]
      end

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

      def parameter_defaults(_parameters)
        { vars: {}, var_files: [] }
      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/validate.rb