Sha256: 02460a50e8a65f7c1094170940f02773d1717db984d637d8b3267da8519fde4f
Contents?: true
Size: 580 Bytes
Versions: 19
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true require 'lino' require_relative 'base' module RubyTerraform module Commands class Show < Base def configure_command(builder, opts) path = opts[:path] || opts[:directory] 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(path) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems