module EasyAppHelper::Scripts::SubCommandBase::ClassMethods
Public Instance Methods
help_line()
click to toggle source
# File lib/easy_app_helper/scripts/sub_command_base.rb, line 38 def help_line line = ' * %-10s : %s' % [self::NAME, self::DESCRIPTION] unless self::ALIASES.nil? or self::ALIASES.empty? line += ' (aliases: %s).' % [ self::ALIASES.join(', ') ] end unless self::PROVIDER == EasyAppHelper::Scripts::SubCommandBase::PROVIDER line += ' Provided by %s plugin.' % [ self::PROVIDER ] end line end