cli (pubsub): List support first draft + doc:
Basic support for listing hierarchy of nodes with pubsub extended discovery. Nodes are displayed as a tree, depth can be specified. rel 463
This commit is contained in:
parent
57e71c326d
commit
b816dc5e54
2 changed files with 85 additions and 0 deletions
|
|
@ -117,6 +117,32 @@ Rename a PubSub item with ID ``123`` to ``456``::
|
|||
|
||||
$ li pubsub rename -n some_node -i 123 456
|
||||
|
||||
.. _li_pubsub_list:
|
||||
|
||||
list
|
||||
====
|
||||
|
||||
List PubSub nodes and items.
|
||||
|
||||
By default, this command will display a tree view of the nodes and items available on the
|
||||
specified service.
|
||||
|
||||
.. note::
|
||||
|
||||
The current implementation provides a basic tree view of nodes. Future versions will
|
||||
include enhanced formatting options and additional filtering capabilities.
|
||||
|
||||
example
|
||||
-------
|
||||
|
||||
List all nodes and items on a pubsub service::
|
||||
|
||||
$ li pubsub list -s pubsub.example.net
|
||||
|
||||
List nodes and items for a specific node::
|
||||
|
||||
$ li pubsub list -s pubsub.example.net -n some_node
|
||||
|
||||
subscribe
|
||||
=========
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue