Description
The current service:list command shows bundles and the services they offer or use.
I propose to move that functionality to the bundle:list command or to a new bundle:services command as the main resource ist the bundle and the service only shows at the second level. As there are already commands like bundle:headers the bundle:services variant sounds like a good option for me? Any opionions here?
For service:list I would like to change the functionality to focus on services as the first level. Here is my current design:
SYNTAX
service:list [-p] [-u] [servicename] [filter]
ARGUMENTS
fqServiceName fully qualified service name or service name or wildcard like MySer*
filter ldap filter to query for properties
OPTIONS
-p Show bundles providing this service
-u Show bundles using this service
--prop Showw service properties
Output is the list of matching services. Depending on the options different levels of details are shown
<objectClass1, objectClass2, ...>
=============
<key1>=<value1>
<key2>="<value2>", ...
Provided by :
-------------
<bundle1>
Used by :
---------
<bundle2> <query used to bind the service>
<bundle3> ...