Sha256: 76698fc8684290434e95ee1126800d8d8fbc08cdaa85039b6c39d9ec7bcbe4ba

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

module Tmg
  class CLI < Thor
    desc 'user [USERNAME]', 'Shows gems owned by another username'
    method_option :dependencies,
                  aliases: '-d',
                  type: :boolean,
                  desc: 'Show dependencies.'
    # Displays the gems that belongs to another user, optionally flag
    # the dependencies (runtime and development)
    def user(username)
      display_gem_info(false, options[:dependencies], nil, username)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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