Method: Origen::Application::Plugins#shared_commands

Defined in:
lib/origen/application/plugins.rb

#shared_commandsObject


106
107
108
109
110
111
112
113
# File 'lib/origen/application/plugins.rb', line 106

def shared_commands
  [Origen.app, self].flatten.map do |plugin|
    shared = plugin.config.shared || {}
    if shared[:command_launcher]
      "#{plugin.root}/#{shared[:command_launcher]}"
    end
  end.compact
end