> 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
gws workflow +file-announce --file-id <ID> --space <SPACE>
| 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 |
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!'
gws drive +upload first to upload the file, then announce it here.共 2 个版本