code: def pkg_blacklist(self):
          
          blacklist = BlackList()
          options = [
              "-b",
              "--blacklist"
          ]
          flag = [
              "--add",
              "--remove"
          ]
          command = ["list"]
          if (len(self.args) == 2 and self.args[0] in options and
                  self.args[1] == command[0]):
              blacklist.listed()
          elif (len(self.args) > 2 and self.args[0] in options and
                  flag[0] in self.args):
              self.args.remove(flag[0])
              blacklist.add(self.args[1:])
          elif (len(self.args) == 3 and self.args[0] in options and
                  "ALL" in self.args and flag[1] in self.args):
              self.args.remove(flag[1])
              blacklist.remove(blacklist.get_black())
          elif (len(self.args) > 2 and self.args[0] in options and
                  flag[1] in self.args):
              self.args.remove(flag[1])
              blacklist.remove(self.args[1:])
          else:
              usage("")
docs: Manage blacklist packages