Sha256: 0ed3ab82e1231ccdd51611ce0ad9d58e17480e77d67eb9251c1d0196771e7ae0

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

module Tmg
  class CLI < Thor
    desc 'info [GEM]', 'Shows information about a specific gem.'
    method_option :dependencies,
                  aliases: '-d',
                  type: :boolean,
                  desc: 'Show dependencies.'
    # Displays information about a gem, optionally displaying
    # runtime dependencies and development dependencies.
    def info(gem)
      display_gem_info(false, options[:dependencies], gem)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tmg-0.5.5 lib/tmg/cli/info.rb
tmg-0.5.4 lib/tmg/cli/info.rb