Sha256: a039e6517584753e2beb78a131ceb7f48acf832333a984dd457d558115a5066d

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

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

      def subcommands(_parameters)
        %w[fmt]
      end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.9 lib/ruby_terraform/commands/format.rb