Skip to content

CLASP for Google Apps Scripts development evaluation / decision  #3722

@aricforrest

Description

@aricforrest

Overview

Evaluate if Google's CLASP (Command Line Apps Script Projects) should be utilized for Google Apps Script development.

Action Items

Understand what Google Apps Scripts and Google CLASP is:

  • Google Apps Scripts are serverless JavaScript runtime for G Suite.
  • Google CLASP is a command-line tool that allows you to locally create, pull, edit, and deploy Apps Scripts.

Review benefits to using CLASP:

  • Allows for collaboration of Apps Scripts using version control (e.g. GitHub)
  • Allows creating Apps Scripts locally in preferred IDE
    -- Nicer user interface
    -- auto completion of Google Apps Script classes and methods
    -- syntax highlighting
    -- keyboard shortcuts
    -- additional plugins such as linters
  • TypeScript support in Apps Scripts via ts2gas
  • NPM/ES6 module support in Apps Scripts via Webpack

Review required changes:

  • Existing Apps Scripts will need to be cloned via CLASP and pushed to GitHub
  • Documentation will need to be created introducing the Google Apps Scripts development process using CLASP
  • Node.js and NPM required on (Google Apps Scripts) developer workstation
  • Google Apps Script API needs to be enabled on the users' Google account

Review potential downsides:

  • Larger learning curve for Apps Script development

Review and Document

  • Write up Decision Record
  • Review with Team
  • Let product know what you are recommending
  • Get sign off
  • Create issues

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions