Sha256: 01e8574c7e7bed8854e8a55da00875512f9af6d4c0cca6882e9942e9ce369a99
Contents?: true
Size: 907 Bytes
Versions: 2
Compression:
Stored size: 907 Bytes
Contents
# encoding: utf-8 # require 'kde-build/command' module BuildTool class InfoCommand < Command def initialize super( 'info', false ) self.short_desc = "Information about a module." self.description = "Retrieve detailed information about module(s)." end def usage "Usage: #{commandparser.program_name} info [module]..." end def execute( args ) if args.length == 0 show_help return end args.each do |modname| mod = ModuleRegistry.get_modules( modname ) do |mod| if mod == nil puts "#{modname} is unknown" return end mod.info puts "" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
build-tool-0.0.3 | lib/kde-build/command/info.rb |
build-tool-0.0.2 | lib/kde-build/command/info.rb |