code: def do_server(self, arg):
          
          if arg['on']:
              self.server_on()
          elif arg['off']:
              self.server_off()
          elif arg['restart']:
              self.server_restart()
          elif arg['log']:
              self.server_log()
          else:
              self.help_server()
docs: Usage:
            server on
            server off
            server restart
            server log
            server help