code: def normalize_cmd(self, command):
          
          command = command.rstrip()
          command += self.RETURN
          return command
docs: Normalize CLI commands to have a single trailing newline.
  
          :param command: Command that may require line feed to be normalized
          :type command: str