Commit Graph

5 Commits

Author SHA1 Message Date
Peter Steinberger
3c131fb1e3 feat(auth): support Workspace service accounts (#54) (thanks @pvieito) 2026-01-11 02:09:05 +01:00
Peter Steinberger
b1b9067a23 fix(auth): default --services to user 2026-01-07 21:36:35 +01:00
Elie Habib
1d240b7e71 fix: add MimeType parameter to Keep attachment download
The Keep API requires the MimeType parameter when downloading
attachments. Added --mime-type flag with application/octet-stream
as default.
2026-01-07 21:23:06 +01:00
Elie Habib
103d80b9c0 feat(keep): add search and attachment commands
- Add `keep search <query>` for client-side text search in title/body
- Add `keep attachment <name>` for downloading note attachments
- Add `--filter` flag for time-based API filtering
- Remove unreliable `--trashed` flag (API filter not working as documented)
2026-01-07 21:23:06 +01:00
Elie Habib
1cdd178a04 feat: add Google Keep support (Workspace only)
Add support for Google Keep API with domain-wide delegation for
Google Workspace accounts.

New commands:
- `gog keep list` - list all notes
- `gog keep get <noteId>` - get a specific note
- `gog auth keep <email> --key <path>` - configure service account

The Keep API requires Workspace with domain-wide delegation because
Google restricts the Keep scope to enterprise use. Once configured,
the service account is auto-detected for the specified email.

Features:
- Service account authentication with impersonation
- Auto-detection of stored service account credentials
- JSON output support for scripting
- Manual override with --service-account and --impersonate flags
2026-01-07 21:23:05 +01:00