Sha256: a6d5bd01aca21b2a868bf3814d6d5b4aab0127c6e5a949b9b396eb5ae1abdfa3

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

require_relative 'base'

module RubyTerraform
  module Commands
    class Get < Base
      def configure_command(builder, opts)
        builder
            .with_subcommand('get') do |sub|
              sub = sub.with_option('-update', true) if opts[:update]
              sub = sub.with_flag('-no-color') if opts[:no_color]
              sub
            end
            .with_argument(opts[:directory])
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.1 lib/ruby_terraform/commands/get.rb