tillkruss / wp-cli-kraken

WP-CLI command to optimize WordPress image attachments using the Kraken Image Optimizer.
MIT License
37 stars 5 forks source link

Feature request: --progress or --verbose flag #2

Open indietravel opened 8 years ago

indietravel commented 8 years ago

Hi, is there any thought to having a --progress or --verbose flag? Would love to see a % indicator (files kraked vs files to krake) or a verbose listing of files as they move backwards and forwards.

Use case, just ran wp media krake on this baby, and want to know if it's alive or dead.

$ wp media krake --dry-run Found 1138 attachments to check. Kraking all images. Skipping already kraked images (comparing file MD4 hashes). Using lossless compression for GIF, JPEG, PNG, SVG files. 1138 attachments (8505 images) checked. 8505 images with no kraken metadata. 0 images checked for changes. 0 modified images found. 8505 images will be kraked.

tillkruss commented 8 years ago

That's a great idea. I won't have the time for this the next weeks, but you're welcome to submit a PR.