技能 效率工具 Drive 文件公告助手

Drive 文件公告助手

v20260401
gws-workflow-file-announce
使用 `gws workflow +file-announce` 命令在 Chat 空间发布 Google Drive 文件通告,可自动获取文件名并支持自定义消息与输出格式。
获取技能
341 次下载
概览

workflow +file-announce

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Announce a Drive file in a Chat space

Usage

gws workflow +file-announce --file-id <ID> --space <SPACE>

Flags

Flag Required Default Description
--file-id Drive file ID to announce
--space Chat space name (e.g. spaces/SPACE_ID)
--message Custom announcement message
--format Output format: json (default), table, yaml, csv

Examples

gws workflow +file-announce --file-id FILE_ID --space spaces/ABC123
gws workflow +file-announce --file-id FILE_ID --space spaces/ABC123 --message 'Check this out!'

Tips

  • This is a write command — sends a Chat message.
  • Use gws drive +upload first to upload the file, then announce it here.
  • Fetches the file name from Drive to build the announcement.

See Also

信息
Category 效率工具
Name gws-workflow-file-announce
版本 v20260401
大小 1.45KB
更新时间 2026-04-08
语言