Setting up the dev environnement

Install the command line tool

  • npm install @google/clasp -g

Then you login :
clasp login

Then you create a script :
clasp create YOURSCRIPT

NB: You need to create the folder where you put your code first

You can open it online using :
clasp open

NB: Seems like you need to at least open it this way once before you can pull and push.

Then you can pull it :
clasp pull

This will pull all the files you just created using the clasp open command

Then after you make local modifications you must use :
clasp push

Pretty straightforward

Deployment :

clasp version "First version"
clasp deploy 1 "First deployment"

1. Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works.

2. Anything that’s invented between when you’re fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it.

3. Anything invented after you’re thirty-five is against the natural order of things.