gws-docs-write
द्वारा Google
Google Docs: Append text to a document.
npx skills add https://github.com/googleworkspace/cli --skill gws-docs-writedocs +write
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Append text to a document
Usage
gws docs +write --document <ID> --text <TEXT>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--document | ✓ | — | Document ID |
--text | ✓ | — | Text to append (plain text) |
Examples
gws docs +write --document DOC_ID --text 'Hello, world!'
Tips
- Text is inserted at the end of the document body.
- For rich formatting, use the raw batchUpdate API instead.
[!CAUTION] This is a write command — confirm with the user before executing.
See Also
- gws-shared — Global flags and auth
- gws-docs — All read and write google docs commands
Google की और Skills
gws-modelarmor-sanitize-response
Google
Google Model Armor: एक 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: कार्य सूचियों और कार्यों का प्रबंधन करें।