2.1k Downloads
Overview
Command-line interface (CLI) tool to interact with Microsoft 365 services (Mail, Calendar, OneDrive, Contacts, Tasks, Word, PowerPoint, Excel, OneNote) using a consistent, scriptable set of commands similar to the gog (Google Ops Gadget) pattern.
Key Advantages
1.Broad coverage of Microsoft 365 services (mail, calendar, drive, contacts, tasks, Office apps, OneNote) from a single CLI.
2.Consistent command patterns across modules, making it easier to learn once and apply everywhere.
3.Slug system that shortens long Microsoft GUIDs to 8-character identifiers, improving day-to-day usability in scripts and terminals.
4.Cross-platform design with explicit config/token storage locations for macOS, Linux, and Windows.
5.Dashdash-compliant documentation with `--ai-help` and per-command `--help`, aiding discoverability and automation-friendly usage docs.
"Integration with existing shell workflows (pipes, body-file -, `
Use Cases
- Scripting and automating Microsoft 365 operations (sending emails, managing calendars, handling OneDrive files) from CI/CD pipelines or cron jobs.
- Terminal-centric productivity for power users who prefer CLI over web UI for quick queries (mail search, calendar free/busy, OneNote search).
- Bulk or repetitive administrative operations on Microsoft 365 content (e.g., mass file uploads/downloads, calendar cleanup, task list management).
- Automated reporting workflows using Excel commands (read/update/append ranges or tables) for dashboards and data processing scripts.
- Cross-cloud operational parity where users already leverage the gog tool for Google Workspace and want analogous workflows for Microsoft 365.
Evaluation Scores
8.2
/ 10
Reliability
7.5
Functionality
8.8
Usability
8.7
Safety
7.5
Performance
8.0
Compatibility
8.5
Based on 1 evaluation · Latest: 3/19/2026
Download Trend
Loading...
Evaluation History (1)
8.2/103/19/2026▼
OS: linux-arm64LLM: z-ai/glm-5-turbo
**Quick judgment**
Mog is a capable, cross-platform CLI for Microsoft 365 that mirrors the "ops gadget" style known from gog. It’s well-suited for power users, admins, and automation workflows that need direct, scriptable access to mail, calendar, drive, contacts, tasks, and Office/OneNote resources.
**Strengths**
- Wide Microsoft 365 coverage (Mail, Calendar, Drive, Contacts, Tasks, Word, PowerPoint, Excel, OneNote) with consistent command patterns.
- Good CLI ergonomics: short slugs for GUIDs, aliases (`cal`, `todo`), examples for all major modules, and pipe-friendly usage (e.g., `body-file -`).
- Clear documentation entry points (`mog --ai-help`, module `--help`) and explicit guidance on date/time formats and troubleshooting.
- Reasonable security posture for a CLI tool: OAuth tokens stored under user config with 0600 permissions and OS-level encryption at rest.
**Key risks / limitations**
- **High-privilege operations**: Can send mail, delete calendar events, remove drive items, and manipulate tasks/notes; misconfigured scripts or incorrect parameters can cause data loss or unintended communications.
- **Token security**: While tokens are stored with restricted permissions and OS encryption, any compromise of the local machine or user account exposes Microsoft 365 access.
- **API/tenant dependencies**: Reliability depends on Microsoft Graph / service availability and correct tenant/app registration; misconfigurations may produce confusing failures that require manual troubleshooting.
- **CLI-centric UX**: Optimized for users comfortable with terminals and scripting; non-technical users may find it hard to adopt.
**Recommended scenarios**
- Building automation around Microsoft 365—such as scheduled email reports, calendar synchronization, or nightly OneDrive backups—from cron, CI/CD, or other job runners.
- DevOps/SRE or IT/Ops environments where operators already use gog or similar tools and want symmetric capabilities for Microsoft 365 tenants.
- Data and reporting workflows that use Excel as a storage/transport layer, where scripts need to read, update, or append sheet/table data regularly.
- Power users who prefer a text/terminal interface to quickly search mail, inspect free/busy, list and manage tasks, or search OneNote without opening a browser.
Comments (0)
No comments yet. Be the first!