View on GitHub

glasp

A Go CLI tool for managing Google Apps Script projects. Single-binary, high-performance clasp alternative.

glasp

OpenSSF Scorecard

glasp is a Go CLI tool for managing Google Apps Script projects. A single-binary, high-performance replacement for Node.js-based clasp.

日本語ドキュメント

Features

Quick Start

# Install (Linux / macOS)
curl -sSL https://takihito.github.io/glasp/install.sh | sh

# Create a project directory
mkdir project-gas
cd project-gas

# Create .clasp.json (set the script ID and rootDir)
glasp config init --script-id=SCRIPT_ID --rootDir=src

# Log in by reusing clasp credentials (or run `glasp login` for the browser flow)
glasp login --auth ~/.clasprc.json

# Pull remote files into src/
glasp pull

Installs to ~/.local/bin by default. To change the install directory:

curl -sSL https://takihito.github.io/glasp/install.sh | GLASP_INSTALL_DIR=/usr/local/bin sh

Windows: irm https://takihito.github.io/glasp/install.ps1 | iex

See Installation, Usage, and GitHub Actions for details.

Supply-Chain Security