Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,16 @@ gog drive move <fileId> --parent <destinationFolderId>
gog drive delete <fileId> # Move to trash
gog drive delete <fileId> --permanent # Permanently delete

# Reporting
gog drive tree --parent <folderId> --depth 2
gog drive du --parent <folderId> --depth 1
gog drive inventory --parent <folderId> --depth 0 --max 500

# Sync
gog drive sync pull --folder <folderId> --out ./drive-sync
gog drive sync push --folder <folderId> --from ./drive-sync
gog drive sync pull --folder <folderId> --out ./drive-sync --dry-run

# Permissions
gog drive permissions <fileId>
gog drive share <fileId> --to user --email user@example.com --role reader
Expand Down Expand Up @@ -923,6 +933,10 @@ gog contacts get people/<resourceName> --json | \

gog contacts delete people/<resourceName>

# Dedupe
gog contacts dedupe
gog contacts dedupe --match email,phone,name --apply

# Workspace directory (requires Google Workspace)
gog contacts directory list --max 50
gog contacts directory search "Jane" --max 50
Expand Down
1 change: 1 addition & 0 deletions internal/cmd/contacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type ContactsCmd struct {
Create ContactsCreateCmd `cmd:"" name:"create" aliases:"add,new" help:"Create a contact"`
Update ContactsUpdateCmd `cmd:"" name:"update" aliases:"edit,set" help:"Update a contact"`
Delete ContactsDeleteCmd `cmd:"" name:"delete" aliases:"rm,del,remove" help:"Delete a contact"`
Dedupe ContactsDedupeCmd `cmd:"" name:"dedupe" help:"Find and merge duplicate contacts"`
Directory ContactsDirectoryCmd `cmd:"" name:"directory" help:"Directory contacts"`
Other ContactsOtherCmd `cmd:"" name:"other" help:"Other contacts"`
}
Expand Down
Loading