mirror of
https://github.com/googleworkspace/cli.git
synced 2026-09-14 16:47:13 +08:00
b5c8ef8002
- Add +pull: download project files to local directory with filename sanitization - Add +open: open script editor in browser - Add +run: execute functions with cloud-platform scope and contextual error hints (extracts GCP project number from OAuth client ID for setup guidance) - Add +logs: view execution logs via processes.listScriptProcesses - Add .clasp.json support: auto-resolve scriptId/rootDir for all helpers - Add clasp_config.rs module with path traversal validation - Add validate_script_filename() for safe file writes during +pull - Regenerate skills for new helper commands
70 lines
1.8 KiB
TOML
70 lines
1.8 KiB
TOML
# Copyright 2026 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
[package]
|
|
name = "gws"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
description = "Google Workspace CLI — dynamic command surface from Discovery Service"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/googleworkspace/cli"
|
|
homepage = "https://github.com/googleworkspace/cli"
|
|
readme = "README.md"
|
|
authors = ["Justin Poehnelt"]
|
|
keywords = ["cli", "google-workspace", "google", "drive", "gmail"]
|
|
categories = ["command-line-utilities", "web-programming"]
|
|
|
|
[[bin]]
|
|
name = "gws"
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
aes-gcm = "0.10"
|
|
anyhow = "1"
|
|
clap = { version = "4", features = ["derive", "string"] }
|
|
dirs = "5"
|
|
dotenvy = "0.15"
|
|
hostname = "0.4"
|
|
reqwest = { version = "0.12", features = ["json", "stream", "rustls-tls"], default-features = false }
|
|
rand = "0.8"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["full"] }
|
|
yup-oauth2 = "12"
|
|
futures-util = "0.3"
|
|
base64 = "0.22.1"
|
|
derive_builder = "0.20.2"
|
|
ratatui = "0.30.0"
|
|
crossterm = "0.29.0"
|
|
chrono = "0.4.44"
|
|
keyring = "3.6.3"
|
|
async-trait = "0.1.89"
|
|
serde_yaml = "0.9.34"
|
|
open = "5"
|
|
percent-encoding = "2.3.2"
|
|
|
|
|
|
# The profile that 'cargo dist' will build with
|
|
[profile.dist]
|
|
inherits = "release"
|
|
lto = "thin"
|
|
|
|
[dev-dependencies]
|
|
serial_test = "3.4.0"
|
|
tempfile = "3"
|