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"