A Rust command-line tool that fetches data from 55+ websites such as Twitter/X, Reddit, YouTube and Hacker News with a single command.
googleworkspace/cli
A command-line tool that gives one interface to Google Workspace APIs like Drive, Gmail, Calendar, Sheets, Docs, and Chat, with JSON output for scripts and AI agents.
- Звёзды
- 31,672
- Форки
- 2,017
- Открытые issues
- 136
- Последний коммит
- 13 дней назад
Что это?
gws is a command-line client for Google Workspace. Instead of hand-writing curl calls against REST endpoints, you run commands such as gws drive files list or gws sheets spreadsheets create. The command set is built at runtime from Google's Discovery Service, so newly added API methods become available without a tool update. Every resource has --help, --dry-run previews a request before it is sent, and --page-all streams paginated results as NDJSON.
All output, including errors, is structured JSON, which makes the tool easy to pipe into jq or other scripts. The repository also ships over 100 Agent Skills (SKILL.md files) covering each supported API plus higher-level workflow helpers, and a Gemini CLI extension that lets an agent use the same commands with the authentication you already set up.
Authentication supports interactive OAuth login with encrypted local storage, manual Google Cloud OAuth client setup, service accounts, pre-obtained access tokens, and exported credentials for headless CI. Installation is available through GitHub Releases, npm, Cargo, Nix, and Homebrew. The project is written in Rust, is Apache-2.0 licensed, and is stated to be under active development with possible breaking changes before v1.0.
Ключевые возможности
- 01Dynamically builds commands from Google's Discovery Service, so new API methods appear automatically.
- 02Outputs structured JSON for every response, including errors.
- 03Supports --dry-run to preview requests and --page-all for NDJSON pagination.
- 04Ships 100+ Agent Skills and a Gemini CLI extension for AI agent use.
- 05Offers multiple auth paths: interactive OAuth, service accounts, access tokens, and exported credentials for CI.
Сценарии использования
- Scripting routine Drive, Sheets, or Gmail operations from a terminal or CI job.
- Letting an AI agent read calendars, send emails, or update spreadsheets through structured commands.
- Automating Google Chat notifications, such as posting a message after a deploy.
- Piping Workspace data into jq or other shell tools for reporting.
Темы
Частые вопросы
- Что такое cli?
- A command-line tool that gives one interface to Google Workspace APIs like Drive, Gmail, Calendar, Sheets, Docs, and Chat, with JSON output for scripts and AI agents. gws is a command-line client for Google Workspace. Instead of hand-writing curl calls against REST endpoints, you run commands such as gws drive files list or gws sheets spreadsheets create. The command set is built at runtime from Google's Discovery Service, so newly added API methods become available without a tool update. Every resource has --help, --dry-run previews a request before it is sent, and --page-all streams paginated results as NDJSON.
- cli можно использовать бесплатно? Какая у него лицензия?
- cli распространяется с открытым исходным кодом под лицензией Apache-2.0. Перед использованием в коммерческих продуктах проверьте условия лицензии.
- cli всё ещё поддерживается?
- Активно поддерживается. Последний коммит в cli — 6 окт. 2026 г..
- Для чего можно использовать cli?
- Scripting routine Drive, Sheets, or Gmail operations from a terminal or CI job. Letting an AI agent read calendars, send emails, or update spreadsheets through structured commands. Automating Google Chat notifications, such as posting a message after a deploy. Piping Workspace data into jq or other shell tools for reporting.
- Где скачать cli?
- Исходный код и инструкции по установке — на GitHub: https://github.com/googleworkspace/cli
Описание создано ИИ на основе README проекта. Статистика GitHub обновляется ежедневно.
Похожие проекты
Command-line tool and library for editing CapCut / JianYing draft projects as local JSON, with no API or server needed.
CLI и слой навыков для установки и настройки каналов, проверки их работоспособности и доступа AI-агентов к поиску в Twitter, Reddit, YouTube, Bilibili, XiaoHongShu и других сервисах.
A browser built for AI agents and you to share: agents run tasks in isolated Spaces while your own tabs and logins stay untouched.
CLI and browser extension that let AI agents work in your logged-in Chrome or Edge while you keep using your browser.
CLI proxy that filters and compresses shell command output before it reaches an AI coding agent's context, cutting token use.