olcli icon indicating copy to clipboard operation
olcli copied to clipboard

[Feature] Verbose output mode

Open Irislucent opened this issue 6 months ago • 2 comments

What would you like? This project has been really helpful. I would like to request a verbose output mode, for example --verbose, for commands such as olcli push and olcli pdf, for clearer troubleshooting. 🥰

When a command fails, verbose mode should show the exact failing step, requested URL or resource, HTTP status code, and any available server response.

Use case / why this matters: olcli pdf outputs ✖ Failed: Download failed: 404, while pushing/pulling are successful.

Any alternatives you've considered? Hmm, idk

Irislucent avatar May 07 '26 02:05 Irislucent

Shipped in v0.3.1 — thanks for the suggestion @Irislucent! 🙏

--verbose is now a global flag and works with every command (olcli --verbose pdf, olcli pdf --verbose, etc.). It prints every HTTP request, status, and on errors a snippet of the response body to stderr. Would have made #22 self-diagnosable, which is exactly what you were after.

aloth avatar May 18 '26 14:05 aloth

Many thanks!

Irislucent avatar May 19 '26 15:05 Irislucent