+commands = alias({
+ 'exit': (exitcmd, 'Quits this shell'),
+ 'help': (helpcmd, 'Helps you getting to know the available commands'),
+ 'open': (sendcmd(tuerSock, 'unlock'), 'Will try to unlock the apartment door'),
+ 'buzz': (sendcmd(tuerSock, 'buzz'), 'Will buzz the buzzer for the street door'),
+ 'who': (whocmd, 'Shows the list of people, who are allowed to control this system'),
+},{
+ # aliases
+ 'unlock': 'open',
+})