slushjs / gulp-conflict

Check if files in stream conflict with those in target dir, with option to use new, keep old, show diff, etc.
MIT License
22 stars 12 forks source link

Feature to go with default choice without user interaction #13

Closed inpratik13 closed 7 years ago

inpratik13 commented 7 years ago

It would be nice to have an silent mode. Sometimes you come across needs where you always want to go with 'skip' option.

Like in my case, I am processing images, and each time I want to only process the image which does not exist in target/destination directory. This is going to be run through a cron job, so I don't want any user interaction and always skip when conflict happens.

inpratik13 commented 7 years ago

Okey, I found after reviewing code that I could set 'skipAll'.

It is missing in documentations.