@_errorHandle
    def callToUserAndDisplay(self, command, domain, *args):
        if domain == 'admin':
            d = self._user.callRemote(command, *args)
            d.addCallback(lambda result: self.terminal.write(str(result)))
        else:
            d = self._user[domain].callRemote(command, *args)
            d.addCallback(lambda result: self.terminal.write(str(result)))

    # Various commands follow
A wrapper function around call to user and displaying the result
dataset/ETHPy150Open rapyuta/rce/rce-console/rce/console/console.py/ConsoleClient.callToUserAndDisplay