Sha256: 5b5cd51a714ae148053c8e4cd07ac426b5333b0c0989302d15e1cececd92f568

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

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

      def subcommands(_parameters)
        %w[plan]
      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/plan.rb