sindresorhus / capture-website-cli

Capture screenshots of websites from the command-line
MIT License
821 stars 42 forks source link

Add `--clip` flag #38

Closed jopemachine closed 2 years ago

jopemachine commented 2 years ago

I added clip flag implemented in https://github.com/sindresorhus/capture-website/pull/97.

I made it accepts 4 comma-separated numbers (x, y, width, height) like inset option.

About documentation, I copy-pasted only the first statement from capture-website's from clip flag's documentation.

I'd appreciate your letting me know if I need to write more detailed description more about this flag. (or need to do other works)