gws-workflow-file-announce
von Google
Google Workflow: Eine Drive-Datei in einem Chat-Bereich ankündigen.
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
Mehr Skills von Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Bereinigen einer Modellantwort durch eine Model Armor-Vorlage.
gws-people
Google
Google People: Kontakte und Profile verwalten.
gws-shared
Google
gws CLI: Gemeinsame Muster für Authentifizierung, globale Flags und Ausgabeformatierung.
gws-sheets
Google
Google Sheets: Tabellen lesen und schreiben.
gws-sheets-append
Google
Google Sheets: Eine Zeile an eine Tabelle anhängen.
gws-sheets-read
Google
Google Sheets: Werte aus einer Tabelle lesen.
gws-slides
Google
Google Slides: Präsentationen lesen und schreiben.
gws-tasks
Google
Google Tasks: Aufgabenlisten und Aufgaben verwalten.