To lint the project, run the following command:
npm run lintTo build the project, run the following command:
npm run buildTo use, place the following script into the /usr/local/bin directory:
node ~/tools/dist/archive.jsOnce run, the script will ask for a file to archive and whether to clean up the file after the archiving is done. The corresponding directory structure is created within the cloud archive and a check is carried out to determine if the file already exists, if it does, the process throws an error. The file is then tarballed and copied to the archive. If cleaning up, the file and its corresponding tar are deleted.