Sha256: d95aa3c055955f0c1ca64162da33dc4594c940d54af6e80bd34583458144ab49

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

require_relative 'base'

module RubyTerraform
  module Commands
    class Show < Base
      def switches
        %w[
          -json
          -module-depth
          -no-color
        ]
      end

      def subcommands(_values)
        %w[show]
      end

      def arguments(values)
        [values[:path] || values[:directory]]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.8 lib/ruby_terraform/commands/show.rb
ruby-terraform-0.65.0.pre.7 lib/ruby_terraform/commands/show.rb