Sha256: ed44aca93fdad7a34194dd8101dd14ff9c485f48090a72ad03f387204977f080

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyTerraform
  module Commands
    class Init < Base
      def options
        %w[
          -backend
          -backend-config
          -force-copy
          -from-module
          -get
          -no-color
          -plugin-dir
        ]
      end

      def subcommands(_parameters)
        %w[init]
      end

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

      def parameter_defaults(_parameters)
        { backend_config: {} }
      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/init.rb