Sha256: eaf9aae352956e7dc63b5df29471283bb6791d2ddcbc82aeebecc4b0824bbc32

Contents?: true

Size: 459 Bytes

Versions: 6

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

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

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

      def subcommands
        %w[show]
      end

      def options
        %w[
          -json
          -no-color
        ] + super
      end

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