class TerraformLandscape::ArgumentsParser
def add_info_options(parser)
def add_info_options(parser) parser.on('--[no-]color', 'Force output to be colorized') do |color| @options[:color] = color end parser.on('-d', '--debug', 'Enable debug mode for more verbose output') do @options[:debug] = true end parser.on_tail('-h', '--help', 'Display help documentation') do @options[:command] = :display_help @options[:help_message] = parser.help end parser.on_tail('-v', '--version', 'Display version') do @options[:command] = :display_version end parser.on_tail('-V', '--verbose-version', 'Display verbose version information') do @options[:command] = :display_version @options[:verbose_version] = true end end