Skip to content

output

2 pages
  • JSON Output

    In Reference

    Referenceclioutputjson

    Use --json on data commands to read one newline-terminated JSON document from stdout. Diagnostics go to stderr; for successful flat create and prune runs, warnings and skipped entries are returned inside the stdout JSON envelope and stderr stays …

    Use --json on data commands to read one newline-terminated JSON document from stdout. Diagnostics go to stderr; for successful flat create and prune runs, warnings and skipped entries are returned inside the stdout JSON envelope and stderr stays …

  • Exit Codes

    In Reference

    Referenceclioutput

    Use exit codes in scripts and read the diagnostic for the specific cause. SOW uses the same code meanings across commands. Code Meaning Next step 0 Success or no-op Read the result; no-op commands may report noop: true 1 Runtime I/O, package …

    Use exit codes in scripts and read the diagnostic for the specific cause. SOW uses the same code meanings across commands. Code Meaning Next step 0 Success or no-op Read the result; no-op commands may report noop: true 1 Runtime I/O, package …