caspia.meadow.cli package¶
Submodules¶
caspia.meadow.cli.shell module¶
-
class
caspia.meadow.cli.shell.Shell(consumer_conn, command=None)[source]¶ Bases:
object-
METADATA_TYPES= {'friendly-name': <class 'str'>, 'join-with-room': <class 'str'>}¶
-
async
do_listen(arg)[source]¶ listen [filter] Listen for characteristic notifications. Filter may include “*” to match any string. Default filter is “*”.
-
async
do_metadata_load_csv(arg)[source]¶ metadata-load-csv <file-path> Load metadata from a file and write them to meadow.
-
async
do_metadata_store_csv(arg)[source]¶ metadata-store-csv <file-path> [filter] Load metadata of all service and store them in a file. It is possible to store metadata of some services only using a service-name filter.
-
async
do_write(arg)[source]¶ write <service> <characteristic> [value] Write to characteristic. If value is omitted, None will be used.
-
property
services¶
-