Sha256: ab9d6bc5b0ec84142b7b1d8d75605858643720776a261c4c0aea2460e3bbf543
Contents?: true
Size: 590 Bytes
Versions: 8
Compression:
Stored size: 590 Bytes
Contents
# frozen_string_literal: true require 'lino' require_relative 'base' module RubyTerraform module Commands # Supports the `terraform show` directive class Show < Base def configure_command(builder, opts) no_color = opts[:no_color] module_depth = opts[:module_depth] builder .with_subcommand('show') do |sub| sub = sub.with_option('-module-depth', module_depth) if module_depth sub = sub.with_flag('-no-color') if no_color sub end .with_argument(opts[:directory]) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems