code: def _notify(p, **data):
      
      message = data.get("message")
      if not message and not sys.stdin.isatty():
          message = click.get_text_stream("stdin").read()
      data["message"] = message
  
      data = clean_data(data)
  
      ctx = click.get_current_context()
      if ctx.obj.get("env_prefix"):
          data["env_prefix"] = ctx.obj["env_prefix"]
  
      rsp = p.notify(**data)
      rsp.raise_on_errors()
      click.secho(f"Succesfully sent a notification to {p.name}!", fg="green")
docs: The callback func that will be hooked to the ``notify`` command