do-dump-js is a Node script for smart dumping
git clone https://github.com/Regani/do-dump-js.git
cd do-dump-jsRun in your terminal as sudo user:
node main.js --dump-from=../from --dump-to=C:\Users\destination| option | required | example | description | default |
|---|---|---|---|---|
| --dump-from= | true | --dump-from=C:\dump-from-folder | From where to dump | - |
| --dump-to= | true | --dump-to=C:\dump-to-folder | Where to dump | - |
| -dn | false | -dn | Is to delete node_modules folder from source (will speed-up dump a lot) | false |
| -fu | false | -fu | Is to do force update. If argument not passed dumper will ignore source elements if destination have same named element which was updated more recent | false |
| -gd | false | -gd | If argument is passed for each folder which has git will be created folders for each remote branch in destination | false |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.