|
@ -312,18 +312,34 @@ if __name__ == '__main__': |
|
|
answer = """ |
|
|
answer = """ |
|
|
|
|
|
|
|
|
To print all available rooms and their configuration, use |
|
|
To print all available rooms and their configuration, use |
|
|
`printrooms` |
|
|
|
|
|
|
|
|
command : `printrooms` |
|
|
|
|
|
-------------------------------------------------------------- |
|
|
To print all available fdbs, use |
|
|
To print all available fdbs, use |
|
|
`printfdbs` |
|
|
`printfdbs` |
|
|
|
|
|
-------------------------------------------------------------- |
|
|
To update all rooms use |
|
|
To update all rooms use |
|
|
`updaterooms` |
|
|
`updaterooms` |
|
|
|
|
|
-------------------------------------------------------------- |
|
|
To update one room use the room_id from the output of printrooms: |
|
|
To update one room use the room_id from the output of printrooms: |
|
|
`updaterooms <room_id>` |
|
|
|
|
|
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 <room-name> <list-fdbs> <list-tags>` |
|
|
|
|
|
|
|
|
command : `updaterooms <room-id>` |
|
|
|
|
|
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 <room-name> <list-fdbs> <list-tags>` |
|
|
|
|
|
example : `createroom room-test-1 ['giz','fdb2'] ['tag1','tag2','tag3']` |
|
|
|
|
|
-------------------------------------------------------------- |
|
|
To delete a room use |
|
|
To delete a room use |
|
|
`deleteroom <room_id>` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
command : `deleteroom <room-id>` |
|
|
|
|
|
example : `deleteroom 6572012bebb39dd248d08320` |
|
|
|
|
|
-------------------------------------------------------------- |
|
|
|
|
|
To print the tags of a room use |
|
|
|
|
|
command : `printtags <room-id>` |
|
|
|
|
|
example : `printtags 6572012bebb39dd248d08320` |
|
|
|
|
|
-------------------------------------------------------------- |
|
|
|
|
|
To add tags to the existing tags use |
|
|
|
|
|
command : `addtags <room-id> <tag-list-without-spaces>` |
|
|
|
|
|
example : `updaterooms 6572012bebb39dd248d08320 ['tag1','tag2','tag3']` |
|
|
|
|
|
|
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|