- JSON when piped. Results go to stdout as JSON when the output is piped (force it with
--json;--prettyforces human output). Progress messages go to stderr. - Never prompts. Content comes from
--file,--stdinor-as the path. - Links in every result. Each result has
id,url(the app link) and, once published,publicUrl. - Ids carry their kind:
pag_note,cnv_canvas,prj_project,ntb_notebook. Notebooks can also be named by their exact name.
Errors
Errors print{"error":{"code","message","hint"}} and exit with a non-zero code. Branch on code.