@ -291,7 +291,7 @@ if __name__ == '__main__':
except :
except :
answer = " after the command printtags, the second argument has to be the room id.. use printrooms and look up the id of the room you want to print the tags "
answer = " after the command printtags, the second argument has to be the room id.. use printrooms and look up the id of the room you want to print the tags "
room_id_to_print_tags = ' NONE '
room_id_to_print_tags = ' NONE '
if room_id_to_print_tags not ' NONE ' :
if room_id_to_print_tags != ' NONE ' :
try :
try :
room_file = open ( ' rooms/ ' + room_id_to_print_tags + ' .txt ' , ' r ' )
room_file = open ( ' rooms/ ' + room_id_to_print_tags + ' .txt ' , ' r ' )
@ -313,30 +313,30 @@ if __name__ == '__main__':
To print all available rooms and their configuration , use
To print all available rooms and their configuration , use
command : `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 :
command : `updaterooms <room-id>`
command : `updaterooms <room-id>`
example : `updaterooms 6572012bebb39dd248d08320`
example : `updaterooms 6572012bebb39dd248d08320`
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
To create a room use following command , but be sure to not have spaces in your lists ,
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 :
as a space indicates a new command argument :
command : `createroom <room-name> <list-fdbs> <list-tags>`
command : `createroom <room-name> <list-fdbs> <list-tags>`
example : `createroom room-test-1 ['giz','fdb2'] ['tag1','tag2','tag3']`
example : `createroom room-test-1 ['giz','fdb2'] ['tag1','tag2','tag3']`
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
To delete a room use
To delete a room use
command : `deleteroom <room-id>`
command : `deleteroom <room-id>`
example : `deleteroom 6572012bebb39dd248d08320`
example : `deleteroom 6572012bebb39dd248d08320`
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
To print the tags of a room use
To print the tags of a room use
command : `printtags <room-id>`
command : `printtags <room-id>`
example : `printtags 6572012bebb39dd248d08320`
example : `printtags 6572012bebb39dd248d08320`
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
To add tags to the existing tags use
To add tags to the existing tags use
command : `addtags <room-id> <tag-list-without-spaces>`
command : `addtags <room-id> <tag-list-without-spaces>`
example : `updaterooms 6572012bebb39dd248d08320 ['tag1','tag2','tag3']`
example : `updaterooms 6572012bebb39dd248d08320 ['tag1','tag2','tag3']`