Sha256: 316a1b3d7201ba33f8c66097b9698f18aa03890489d91e1018d2cce93780d96c

Contents?: true

Size: 633 Bytes

Versions: 16

Compression:

Stored size: 633 Bytes

Contents

require 'rim/command/command'
require 'rim/info_helper'

module RIM
module Command

class Info < Command

  def initialize(opts)
    opts.banner = "Usage: rim info [<options>] [<local_module_path>]"
    opts.description = "Prints information about RIM modules in <local_module_path> or all modules if omitted"
    opts.separator ""
    opts.on("-d", "--detailed", "print detailed information") do
      @detailed = true
    end
  end

  def invoke
    helper = InfoHelper.new(project_git_dir, @logger)
    helper.modules_from_paths(helper.module_paths(ARGV))
    helper.upstream_info
  end

end

end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
esr-rim-1.4.8 lib/rim/command/info.rb
esr-rim-1.4.7 lib/rim/command/info.rb
esr-rim-1.4.4 lib/rim/command/info.rb
esr-rim-1.4.3 lib/rim/command/info.rb
esr-rim-1.4.2 lib/rim/command/info.rb
esr-rim-1.4.0 lib/rim/command/info.rb
esr-rim-1.3.9 lib/rim/command/info.rb
esr-rim-1.3.8 lib/rim/command/info.rb
esr-rim-1.3.7 lib/rim/command/info.rb
esr-rim-1.3.6 lib/rim/command/info.rb
esr-rim-1.3.5 lib/rim/command/info.rb
esr-rim-1.3.4 lib/rim/command/info.rb
esr-rim-1.3.3 lib/rim/command/info.rb
esr-rim-1.3.2 lib/rim/command/info.rb
esr-rim-1.3.1 lib/rim/command/info.rb
esr-rim-1.3.0 lib/rim/command/info.rb