danthareja / node-google-apps-script

[DEPRECATED - use clasp instead] The easiest way to develop Google Apps Script projects
MIT License
353 stars 70 forks source link

feat(*): support uploading 'folders' to gapps #54

Open rodyhaddad opened 7 years ago

rodyhaddad commented 7 years ago

This PR adds the ability to handle folders properly when uploading files to Google Apps Script, without resorting to flattening the file tree.

Files on Google Apps Script seem to allow the / character in their name and so this PR exploits this to enable support of folders.
Files that are found in folders simply get their folders prepended to their name, and therefore: folder support.