Module: EasyAppHelper::Scripts::SubCommandBase::ClassMethods
- Defined in:
- lib/easy_app_helper/scripts/sub_command_base.rb
Instance Method Summary collapse
Instance Method Details
#help_line ⇒ Object
38 39 40 41 42 43 44 45 46 47 |
# 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 |