<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run(self, *args):
 """List, add or delete entries from the blacklist. By default, it prints the list of entries available on the blacklist. """

        params = self.parser.parse_args(args)

        entry = params.entry

        if params.add:
            code = self.add(entry)
        elif params.delete:
            code = self.delete(entry)
        else:
            term = entry
            code = self.blacklist(term)

        return code