With v1.1.0 from npm:
$ urlbox screenshot https://example.com --curl
✓ Equivalent curl command (no API call made)
The summary prints but the curl command itself doesn't. You have to switch to --output-format json to see it.
Quiet mode is also off: it prints {"curl": "curl -X POST ..."} — a JSON object — where other commands' quiet output is a bare scalar (render prints the URL/id, link prints the signed URL).
Expected:
- text mode: print the curl command under the summary
- quiet mode: print just the curl string
Same class as the link/doctor text-mode fixes that went into 1.1.0 — --curl was missed.
With v1.1.0 from npm:
The summary prints but the curl command itself doesn't. You have to switch to
--output-format jsonto see it.Quiet mode is also off: it prints
{"curl": "curl -X POST ..."}— a JSON object — where other commands' quiet output is a bare scalar (render prints the URL/id, link prints the signed URL).Expected:
Same class as the link/doctor text-mode fixes that went into 1.1.0 —
--curlwas missed.