Script to create a team drive and share to a email address. 0. Install the dependencies from both top-level and ../google/ directory.
- Run
npm run buildin top-level directory to build javascript. - Get your client ID and client secret following Google nodejs quickstart
- Download and name your credentials as
credentials.jsonand put into credentials directory. node create-share-teamdrive.js -n 'TeamDriveName' -u 'EmailAddressToShareWith'
Or run with ts-node without build.