Format is an output format accepted by Write. It implements pflag.Value,
so a --format typo is rejected while cobra parses the flags — before the
command runs and submits the query to the server.
Type names the value shown in the --format help line. It reports "string"
rather than "format" because that help text is part of the agent-facing
contract; see the documentation sync rule in CLAUDE.md.