gws-script
यह क्या करती है
यह कमांड Google Apps Script projects मैनेज करने में मदद करता है। आप नए projects बना सकते हैं, उनकी जानकारी देख सकते हैं, code ले या अपडेट कर सकते हैं, और usage metrics भी देख सकते हैं।
कब इस्तेमाल करें
- ✓जब आप शुरू से एक नई script बनाना चाहें।
- ✓जब किसी मौजूदा script का code देखना हो।
- ✓यह जानने के लिए कि आपकी script को कितने लोग इस्तेमाल कर रहे हैं।
Skill का लिंक
https://github.com/googleworkspace/cli/blob/main/skills/gws-script/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“'My First Script' नाम का नया script project बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप वह काम बताते हैं जो करना है (जैसे 'create project' या 'view code') और किस project के लिए। टूल काम पूरा करने के लिए Google से बात करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
script (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws script <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+push |
Upload local files to an Apps Script project |
API Resources
processes
list— List information about processes made by or on behalf of a user, such as process type and current status.listScriptProcesses— List information about a script's executed processes, such as process type and current status.
projects
create— Creates a new, empty script project with no script files and a base manifest file.get— Gets a script project's metadata.getContent— Gets the content of the script project, including the code source and metadata for each script file.getMetrics— Get metrics data for scripts, such as number of executions and active users.updateContent— Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the project.deployments— Operations on the 'deployments' resourceversions— Operations on the 'versions' resource
scripts
run—
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws script --help
# Inspect a method's required params, types, and defaults
gws schema script.<resource>.<method>
Use gws schema output to build your --params and --json flags.
अक्सर पूछे जाने वाले सवाल
Google Apps Script क्या है?
यह छोटे प्रोग्राम (scripts) बनाने का एक तरीका है, जिनसे Google Workspace (Gmail, Sheets, Drive आदि) के अंदर काम अपने-आप हो जाते हैं।
'resource' और 'method' का क्या मतलब है?
'Resource' उस तरह की चीज़ है जिसे आप मैनेज कर सकते हैं (जैसे 'projects')। 'Method' वह एक्शन है जो आप उस चीज़ पर करना चाहते हैं (जैसे 'create' या 'get')।
`gws schema` क्या है?
यह एक कमांड है जो दिखाती है कि किसी खास फ़ंक्शन को इस्तेमाल करने के लिए कौन सी जानकारी चाहिए, यानी आपको क्या देना होगा।
जानकारी
लोकप्रियता
- GitHub स्टार
- 32k
- रैंकिंग में स्थान
- #9183
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 6/10/2026
कमेंट
- …
इस repository की और skills
gws-admin-reports
32kआपके एजेंट को Google Workspace से गतिविधि रिपोर्ट लाने में मदद करता है। यह ऑडिट और उपयोग का डेटा इकट्ठा करता है।
gws-calendar-agenda
32kआपके एजेंट को सभी कैलेंडर में आने वाले इवेंट दिखाने में मदद करता है। अपना शेड्यूल व्यवस्थित करने और आने वाली चीज़ें जानने में उपयोगी है।
gws-calendar-insert
32kआपके एजेंट को Google Calendar में नए इवेंट बनाने देता है। अपॉइंटमेंट और मीटिंग तय करने के लिए उपयोगी है।
gws-calendar
32kआपके एजेंट को कैलेंडर और इवेंट मैनेज करने देता है। अपने काम और जीवन को व्यवस्थित करने के लिए उपयोगी है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।