You can use the "inspect cap service" command and search for services with a property of "osgi.command.function" containing the command name you are looking for.
Note that all of the duplicates you have shown are just overloaded methods. For example "cd" with no parameters prints the current directory whereas "cd <dir>" changes to the specified directory. Neil On Wed, Jan 10, 2018 at 1:52 PM, Erwin Hogeweg <erwin.hoge...@seecago.com> wrote: > Hi, > > Is there a way to find out which bundle/component provides a certain gogo > command? > > When I type help I see a couple of duplicates (see below), and I am trying > to find out if I have a configuration problem or not. > > The framework is equinox with felix gogo and scr. > > Thanks, > > Erwin > > > id State Bundle > 0 ACTIVE org.eclipse.osgi_3.10.2.v20150203-1939 > Fragments=5 > 1 ACTIVE org.apache.felix.gogo.command_0.16.0 > 2 ACTIVE org.apache.felix.gogo.runtime_0.16.2 > 3 ACTIVE org.apache.felix.gogo.shell_0.12.0 > 8 ACTIVE org.apache.felix.eventadmin_1.4.6 > 9 ACTIVE org.apache.felix.scr_2.0.8 > 10 ACTIVE org.apache.felix.configadmin_1.8.14 > 11 ACTIVE org.apache.felix.fileinstall_3.5.4 > > > list - List component configurations of a specific bundle > scope: scr > parameters: > String Symbolic name or ID of the bundle > > list - List all component configurations > scope: scr > > up - Update the specified bundle from the specified location > scope: equinox > parameters: > Bundle Bundle to update > URL Location of the new bundle content > > up - update the specified bundle(s) > scope: equinox > parameters: > Bundle[] bundle(s) to update > > cd - change current directory > scope: felix > parameters: > String target directory > > cd - get current directory > scope: felix > > > Erwin Hogeweg > CTO > 3690 Airport Road > Boca Raton, FL 33431 > P. +1 (954) 556-6565 > M. +1 (561) 306-7395 > F. +1 (561) 948-2730 > [Seecago]<http://www.seecago.com> >