--subdomain, picks the workspace and is covered under
Authentication.
If more than one is set,
--toon wins over --quiet, which wins over --json.
Pretty output
With no flag and a terminal attached, listings render as a table and single records as a key-value block, followed by a short list of commands you are likely to want next.Page 1 of 6 (137 total records).
JSON
data holds the records themselves. For a listing that is the bare array of records, with the
API’s wrapper key (tickets, comments, team_members) removed; for a single record it is the
object the API returned, such as {"ticket": {...}}. breadcrumbs lists the follow-up commands
the pretty output would have suggested, and pagination appears on paginated listings with the
same keys the API uses.
The envelope is also what you get when output is piped or redirected, because the CLI drops
pretty formatting when standard output is not a terminal. neetodesk tickets list > out.json
therefore writes JSON without needing --json.
Commands that only confirm an action, such as logout and team-members delete, print a
message rather than a record. Under --json, or when piped, that is {"message": "..."}.
Quiet
--quiet prints the data part on its own, with no envelope, no pagination and no breadcrumbs.
For a listing that is the bare array, so index into it directly:
success.
TOON
--toon emits TOON, an indentation-based encoding that carries the same data in fewer tokens
than JSON. It is intended for AI assistants reading command output. A paginated listing is
followed by its pagination block in the same encoding:
key: value lines instead, with no blank line
between the two.
See AI assistants for how the CLI plugs into Claude, Cursor and the rest.