1.3.3 • Published 5 years ago

gas-repl v1.3.3

Weekly downloads
2
License
Unlicense
Repository
github
Last release
5 years ago

gas-repl - Remote REPL for Google Apps Script (npm)

Interacting with remote objects gets your programming easier.

Image from Gyazo

Installation

npm install --save-dev gas-repl

Prerequisite

Your GAS project should be set up for clasp run. Follow the instruction below:

  1. Find Project ID from https://console.cloud.google.com/home/dashboard and Script ID from https://script.google.com/home/my, then paste it into .clasp.json.
  2. Open https://console.developers.google.com/apis/credentials, create an OAuth Client ID (Other), then download as .claspcreds.json.
  3. clasp login --creds .claspcreds.json.
  4. Put the global function of gas-repl -p to your project.
  5. Build your project and clasp push.
  6. clasp run GAS_REPL will return Hello from Apps Script ID: ****** if it is working right.

Now you can use gas-repl to interact with remote objects.

Troubleshooting

If you have Exception: ScriptError Authorization is required to perform that action. [], try clasp login.

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago