Sha256: 176feb7bd80176644a7ceff00bb68ead04e6f3d50978b6672084c60a15167f46

Contents?: true

Size: 446 Bytes

Versions: 98

Compression:

Stored size: 446 Bytes

Contents

require 'lino'
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

98 entries across 98 versions & 1 rubygems

Version Path
ruby-terraform-0.64.0 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.63.0.pre.1 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.62.0 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.61.0.pre.1 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.60.0 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.59.0.pre.2 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.59.0.pre.1 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.58.0 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.57.0.pre.2 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.57.0.pre.1 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.56.0 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.55.0.pre.1 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.54.0 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.53.0.pre.2 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.53.0.pre.1 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.52.0 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.51.0.pre.3 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.51.0.pre.2 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.51.0.pre.1 lib/ruby_terraform/commands/get.rb
ruby-terraform-0.50.0 lib/ruby_terraform/commands/get.rb