docs: def clear_dir(self):
          """Delete contents of the directory on the given path."""
          self.stdout.write("Deleting contents of '{}'.".format(self.destination_path))
  
          for filename in os.listdir(self.destination_path):
              if os.path.isfile(filename) or os.path.islink(filename):
                  os.remove(filename)
              elif os.path.isdir(filename):
                  shutil.rmtree(filename)