Sha256: 266a428c8ae0434db35d878e509bbbf31742dc6bbc39ffc762777d4414c32e1f

Contents?: true

Size: 390 Bytes

Versions: 2

Compression:

Stored size: 390 Bytes

Contents

require_relative 'base'

module RubyTerraform
  module Commands
    class Format < Base
      def switches
        %w[
          -check
          -diff
          -list
          -no-color
          -recursive
          -write
        ]
      end

      def subcommands(_values)
        %w[fmt]
      end

      def arguments(values)
        [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/format.rb
ruby-terraform-0.65.0.pre.7 lib/ruby_terraform/commands/format.rb