Sha256: 5838200d26e2b2e69091aca7c732a7e451f7aa754d8bf78121bf3b5ff1ccea1e

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

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

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

      def subcommands
        %w[state push]
      end

      def options
        %w[-ignore-remote-version] + super
      end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.15 lib/ruby_terraform/commands/state_push.rb
ruby-terraform-0.65.0.pre.14 lib/ruby_terraform/commands/state_push.rb
ruby-terraform-0.65.0.pre.13 lib/ruby_terraform/commands/state_push.rb
ruby-terraform-0.65.0.pre.12 lib/ruby_terraform/commands/state_push.rb
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/commands/state_push.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/commands/state_push.rb