Notice writes one stderr line telling the reader something about the result.
func Notice(kind, prefix, message string, asJSON bool, fields map[string]any)Notice writes one stderr line telling the reader something about the result that stdout doesn't show, such as which profile a command used or that a list was cut off. Each kind prints at most once per command run, so a command that fetches several pages warns once. With asJSON the line is a JSON object {"notice": kind, "message": ..., fields...}; otherwise it is "prefix: message". Stdout is never written.