recipe-backup-sheet-as-csv
โดย Google
ส่งออกสเปรดชีต Google Sheets เป็นไฟล์ CSV สำหรับการสำรองข้อมูลหรือประมวลผลในเครื่อง
npx skills add https://github.com/googleworkspace/cli --skill recipe-backup-sheet-as-csvExport a Google Sheet as CSV
PREREQUISITE: Load the following skills to execute this recipe:
gws-sheets,gws-drive
Export a Google Sheets spreadsheet as a CSV file for local backup or processing.
Steps
- Get spreadsheet details:
gws sheets spreadsheets get --params '{"spreadsheetId": "SHEET_ID"}' - Export as CSV:
gws drive files export --params '{"fileId": "SHEET_ID", "mimeType": "text/csv"}' - Or read values directly:
gws sheets +read --spreadsheet SHEET_ID --range 'Sheet1' --format csv
Skills เพิ่มเติมจาก Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: ทำความสะอาดการตอบสนองของโมเดลผ่านเทมเพลต Model Armor
gws-people
Google
จัดการรายชื่อผู้ติดต่อและโปรไฟล์
gws-shared
Google
CLI ของ gws: รูปแบบที่ใช้ร่วมกันสำหรับการตรวจสอบสิทธิ์, แฟลกระดับโลก, และการจัดรูปแบบผลลัพธ์
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: จัดการรายการงานและงานต่างๆ