This Gist documents the steps and commands used to set up and manage a Google Apps Script project using the clasp
CLI.
node -v
npm i @google/clasp -g
npm list -g --depth=0
clasp login
create cred.json
clasp login --creds ./cred.json <Take from Desktop/keys file and copy to remote machine>
clasp login
clasp pull
clasp push
mkdir clasp_codelab
cd clasp_codelab
clasp create --title "Clasp Codelab" --type standalone
clasp open
clasp pull
clasp push
clasp version "First version"
clasp --help
clasp status
clasp logout
clasp status