1.0.0 • Published 5 years ago
serve-clone v1.0.0
serve-clone
Clone files hosted on a vercel
serveserver to your local machine

Usage
Install as a global module:
npm i -g serve-clonePoint towards your serve server and enter your local path for the cloning:
serve-clone --url http://localhost:5000 --folder files/just-hereThis will download all the files to your machine and give you a live progress update
Arguments:
--help Show the help message
-u, --url The url of the serve server
-f, --folder The folder where the serve directory contents will be clonedNotes
In order for single file directories and automatic .html pages to be listed correctly,
Your serve config must be set to {"cleanUrls": false}. At the current time, this options has to be set using a config files as CLI argument is not available (serve@11).
In order for symlinked files to be downloaded correctly,
Your serve config must be set to {"symlinks": true}. At the current time, this has to be through the CLI arg --symlinks as there is a bug through config file usage (serve@11).
1.0.0
5 years ago