Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gasp-cli

m1ckc3b21MIT1.3.0

A cli to build a Google Apps Script Project Locally

cli, node, javascript, google-apps-script, script.google.com, clasp

readme

(gasp) Google Apps Script Project CLI

Locally developping GAS projects more easily.

With Gasp command automatically create a new node.js project including package.json and gitignore files, a sub-folder called gas that'll content all scripts you gonna to write. In addition there are in the package.json file script commands to quickly deploy 3 types of project : dev, qa or prod.

npm install -g gasp-cli
gasp create [project-name] [script-id]

How to get the script-id ?

To retrieve the id of a gas project, just go to https://script.google.com, open the project and in the project settings tab, click on the "copy" button just at below the id.

For more information about clasp command please check the documentation.

clasp JavaScript Style Guide