Sha256: 2d42a7914c823417911fff7bd8ae1751479e2d76b4c9b25f0cad90b0710333f7

Contents?: true

Size: 408 Bytes

Versions: 6

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

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

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

      def subcommands
        %w[state show]
      end

      def options
        %w[-state] + super
      end

      def arguments(parameters)
        [parameters[:address]]
      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_show.rb
ruby-terraform-0.65.0.pre.14 lib/ruby_terraform/commands/state_show.rb
ruby-terraform-0.65.0.pre.13 lib/ruby_terraform/commands/state_show.rb
ruby-terraform-0.65.0.pre.12 lib/ruby_terraform/commands/state_show.rb
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/commands/state_show.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/commands/state_show.rb