Method: Bones::App::Plugins.initialize_plugins

Defined in:
lib/bones/app/plugins.rb

.initialize_pluginsObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/bones/app/plugins.rb', line 5

def self.initialize_plugins
  synopsis 'bones plugins [options]'

  summary 'list available Mr Bones plugins'

  description <<-__
Parse the installed gems and then search for Mr Bones plugins related to
those gems. Passing in the 'all' flag will show plugins even if the related
gems are not installed.
  __

  option('-a', '--all', 'Show all plugins.', lambda { |_| config[:all] = true })
  option(standard_options[:colorize])
end