gws-drive-upload by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-drive-upload前提条件: 请先阅读
../gws-shared/SKILL.md了解身份验证、全局标志和安全规则。如果该文件不存在,请运行gws generate-skills来创建它。
上传文件并自动添加元数据
gws drive +upload <文件>
| 标志 | 是否必需 | 默认值 | 描述 |
|---|---|---|---|
<文件> | ✓ | — | 要上传的文件路径 |
--parent |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| — |
| — |
| 父文件夹 ID |
--name | — | — | 目标文件名(默认为源文件名) |
gws drive +upload ./report.pdf
gws drive +upload ./report.pdf --parent FOLDER_ID
gws drive +upload ./data.csv --name 'Sales Data.csv'
--name,否则文件名将从本地路径推断。[!CAUTION] 这是一个 写入 命令 — 执行前请与用户确认。
每周安装量
8.1K
代码仓库
GitHub 星标数
22.2K
首次出现
2026 年 3 月 4 日
安全审计
安装于
codex7.6K
opencode7.5K
gemini-cli7.5K
github-copilot7.5K
cursor7.5K
kimi-cli7.5K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Upload a file with automatic metadata
gws drive +upload <file>
| Flag | Required | Default | Description |
|---|---|---|---|
<file> | ✓ | — | Path to file to upload |
--parent | — | — | Parent folder ID |
--name | — | — | Target filename (defaults to source filename) |
gws drive +upload ./report.pdf
gws drive +upload ./report.pdf --parent FOLDER_ID
gws drive +upload ./data.csv --name 'Sales Data.csv'
[!CAUTION] This is a write command — confirm with the user before executing.
Weekly Installs
8.1K
Repository
GitHub Stars
22.2K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex7.6K
opencode7.5K
gemini-cli7.5K
github-copilot7.5K
cursor7.5K
kimi-cli7.5K
76,500 周安装