Skip to content

output

2 pages
  • JSON Output

    In Reference

    Referenceclioutputjson

    With --json, a SOW command writes one versioned JSON document instead of human-readable text, so a script gets stable field names rather than parsing log lines. Look here for the envelope every response shares, how errors and IDs are typed, and the …

    With --json, a SOW command writes one versioned JSON document instead of human-readable text, so a script gets stable field names rather than parsing log lines. Look here for the envelope every response shares, how errors and IDs are typed, and the …

  • Exit Codes

    In Reference

    Referenceclioutput

    Every SOW command exits with one of the codes below, and a code means the same thing in every command. A script can therefore branch on the code and leave the message for humans. Look here when you wrap SOW in a script, or when you need to know …

    Every SOW command exits with one of the codes below, and a code means the same thing in every command. A script can therefore branch on the code and leave the message for humans. Look here when you wrap SOW in a script, or when you need to know …