PCLI2
1.26.0 - 2026-09-05
v1.26.0
Sep 5 2026 at 16:52 UTC
Added
--error-format json(global, orPCLI2_ERROR_FORMAT=json) - Everything on stderr becomes one JSON object per line: errors with their hint and, for API errors, the HTTP status; warnings and log lines; the--statssummary. The final error object carries the process exit code and its class (usage,not_found,auth,api, ...), so a script reads one line instead of parsing prose. Usage errors clap reports before the command runs are JSON too.--no-input(global, orPCLI2_NO_INPUT=1) - Never prompt. A confirmation that would otherwise be asked fails with exit 64 and names--yes;tenant useandenv usewithout--namefail instead of opening a menu;auth loginfalls back to its missing-argument error. The same now happens without the flag whenever stdin is not a terminal.
Fixed
cache clearwithout a terminal exited 0 as "cancelled" - It read end-of-file as "no" and reported success to the calling script. It now refuses with exit 64 and asks for--yes.folder delete,asset deleteand the environment commands already refused; all five prompts now go through one function and give the same message.