View on GitHub

glasp

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

glasp

OpenSSF Scorecard

glasp は Google Apps Script プロジェクトを管理する Go 製 CLI ツールです。 Node.js ベースの clasp をシングルバイナリで置き換え、高速に動作します。

English

Features

Quick Start

# インストール(Linux / macOS)
curl -sSL https://takihito.github.io/glasp/install.sh | sh

# プロジェクトディレクトリを作成
mkdir project-gas
cd project-gas

# .clasp.json を作成(スクリプト ID と rootDir を指定)
glasp config init --script-id=SCRIPT_ID --rootDir=src

# clasp の認証情報でログイン(ブラウザでログインする場合は `glasp login`)
glasp login --auth ~/.clasprc.json

# リモートファイルを src/ に取得
glasp pull

デフォルトでは ~/.local/bin にインストールされます。変更する場合:

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 でインストールできます。

詳しくは インストール、使い方、GitHub Actions をご覧ください。

Supply-Chain Security