There is already a bundle command which returns a Bundle object. The
problem is the formatting of that object, which is controlled by
the org.apache.felix.service.command.Converter service.

The implementation class (from the
shell bundle) implements a format method for Bundle objects at the LINE and
PART detail levels, which is why the output of the lb command doesn't look
terrible. It seems to lack an implementation for the INSPECT level however.


On Tue, Nov 13, 2018 at 9:38 AM Todor Boev <> wrote:

> Hello,
> Can we add a "bundle" command to gogo that will list a readable summary for
> a target bundle?
> Calling BundleContext.getBundle() and looking at the raw object print is
> almost useless.
> Also is there any reason this was not done until now?
> Regards,
> Todor

Reply via email to