From a6dbb93e1d028c8b548c212f435ff0b3708e8d0f Mon Sep 17 00:00:00 2001 From: alpcentaur Date: Thu, 14 Dec 2023 17:28:34 +0100 Subject: [PATCH] added two more functions to printcommands output, also changed the formatting a bit --- fdb_spider_interface.py | 28 ++++++++++++++++++++++------ new_message_file.txt | 2 +- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/fdb_spider_interface.py b/fdb_spider_interface.py index 0920031..5f72146 100644 --- a/fdb_spider_interface.py +++ b/fdb_spider_interface.py @@ -312,18 +312,34 @@ if __name__ == '__main__': answer = """ To print all available rooms and their configuration, use - `printrooms` + command : `printrooms` + -------------------------------------------------------------- To print all available fdbs, use `printfdbs` + -------------------------------------------------------------- To update all rooms use `updaterooms` + -------------------------------------------------------------- To update one room use the room_id from the output of printrooms: - `updaterooms ` - To create a room use following command, but be sure to not have spaces in your lists, as a space indicates a new command argument: - `createroom ` + command : `updaterooms ` + example : `updaterooms 6572012bebb39dd248d08320` + -------------------------------------------------------------- + To create a room use following command, but be sure to not have spaces in your lists, + as a space indicates a new command argument: + command : `createroom ` + example : `createroom room-test-1 ['giz','fdb2'] ['tag1','tag2','tag3']` + -------------------------------------------------------------- To delete a room use - `deleteroom ` - + command : `deleteroom ` + example : `deleteroom 6572012bebb39dd248d08320` + -------------------------------------------------------------- + To print the tags of a room use + command : `printtags ` + example : `printtags 6572012bebb39dd248d08320` + -------------------------------------------------------------- + To add tags to the existing tags use + command : `addtags ` + example : `updaterooms 6572012bebb39dd248d08320 ['tag1','tag2','tag3']` """ diff --git a/new_message_file.txt b/new_message_file.txt index 4715529..29f63dc 100644 --- a/new_message_file.txt +++ b/new_message_file.txt @@ -1 +1 @@ -updaterooms 657b0a50ebb39dd248d2e11b§%§%4pTTKiFWfhTg24hGb \ No newline at end of file +printrooms§%§%93Nwjiq6LmbdtDpqt \ No newline at end of file