gws-workflow-file-announce
作成者: Google
Google Workflow: ChatスペースでDriveファイルを告知する。
npx skills add https://github.com/googleworkspace/cli --skill gws-workflow-file-announceworkflow +file-announce
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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 +uploadfirst to upload the file, then announce it here. - Fetches the file name from Drive to build the announcement.
See Also
- gws-shared — Global flags and auth
- gws-workflow — All cross-service productivity workflows commands
Googleのその他のスキル
gws-modelarmor-sanitize-response
Google
Google Model Armor: モデルアーマーテンプレートを使用してモデルの応答をサニタイズします。
gws-people
Google
Google People: 連絡先とプロフィールを管理します。
gws-shared
Google
gws CLI: 認証、グローバルフラグ、出力フォーマットのための共有パターン。
gws-sheets
Google
Google Sheets: スプレッドシートの読み書きを行います。
gws-sheets-append
Google
Google Sheets: スプレッドシートに行を追加します。
gws-sheets-read
Google
Google Sheets: スプレッドシートから値を読み取ります。
gws-slides
Google
Google Slides:プレゼンテーションの読み取りと書き込みを行います。
gws-tasks
Google
Google Tasks: タスクリストとタスクを管理します。