Open oupala opened 6 years ago
There currently only one parameter to set the behavior of the plugin:
overwrite: true
overwrite: false
There could be a good option to add:
delete-original: true
And as delete-original: true would not be compatible with overwrite: true, it could be possible to change the parameter behavior:
original: keep
original: overwrite
original: delete
There currently only one parameter to set the behavior of the plugin:
overwrite: true
replace files with the compressed version instead of creating a copy with the '.gz' extensionoverwrite: false
create a compressed copy version with the '.gz' extension and keep the original fileThere could be a good option to add:
delete-original: true
delete original file after creating a compressed copy version with the '.gz' extensionAnd as
delete-original: true
would not be compatible withoverwrite: true
, it could be possible to change the parameter behavior:original: keep
create a compressed copy version with the '.gz' extension and keep the original fileoriginal: overwrite
replace files with the compressed version instead of creating a copy with the '.gz' extensionoriginal: delete
delete original file after creating a compressed copy version with the '.gz' extension