diff --git a/README.md b/README.md index deb4d0d..f870a5b 100644 --- a/README.md +++ b/README.md @@ -249,20 +249,20 @@ gog calendar search "meeting" --from 2025-01-01T00:00:00Z --to 2025-01-31T00:00: # Create and update gog calendar create \ --summary "Meeting" \ - --start 2025-01-15T10:00:00Z \ - --end 2025-01-15T11:00:00Z + --from 2025-01-15T10:00:00Z \ + --to 2025-01-15T11:00:00Z gog calendar create \ --summary "Team Sync" \ - --start 2025-01-15T14:00:00Z \ - --end 2025-01-15T15:00:00Z \ - --organizer organizer@example.com \ - --color 5 + --from 2025-01-15T14:00:00Z \ + --to 2025-01-15T15:00:00Z \ + --attendees "alice@example.com,bob@example.com" \ + --location "Zoom" gog calendar update \ --summary "Updated Meeting" \ - --start 2025-01-15T11:00:00Z \ - --end 2025-01-15T12:00:00Z + --from 2025-01-15T11:00:00Z \ + --to 2025-01-15T12:00:00Z gog calendar delete @@ -286,20 +286,23 @@ gog calendar conflicts --calendars "primary,work@example.com" \ ```bash # List and search gog drive ls --max 20 -gog drive ls --max 20 # List folder contents +gog drive ls --parent --max 20 gog drive search "invoice" --max 20 gog drive get # Get file metadata gog drive url # Print Drive web URL # Upload and download -gog drive upload ./path/to/file --folder -gog drive download +gog drive upload ./path/to/file --parent +gog drive download --out ./downloaded.bin +gog drive download --format pdf --out ./exported.pdf +gog drive download --format docx --out ./doc.docx +gog drive download --format pptx --out ./slides.pptx # Organize gog drive mkdir "New Folder" gog drive mkdir "New Folder" --parent gog drive rename "New Name" -gog drive move --folder +gog drive move --parent gog drive delete # Move to trash # Permissions @@ -364,6 +367,10 @@ gog tasks clear gog sheets metadata gog sheets get 'Sheet1!A1:B10' +# Export (via Drive) +gog drive download --format pdf --out ./sheet.pdf +gog drive download --format xlsx --out ./sheet.xlsx + # Write gog sheets update 'A1' 'val1|val2,val3|val4' gog sheets update 'A1' --json '[["a","b"],["c","d"]]' @@ -448,8 +455,8 @@ gog calendar freebusy --calendars "primary" \ # Create the meeting gog calendar create primary \ --summary "Team Standup" \ - --start 2025-01-15T10:00:00Z \ - --end 2025-01-15T10:30:00Z \ + --from 2025-01-15T10:00:00Z \ + --to 2025-01-15T10:30:00Z \ --attendees "alice@example.com,bob@example.com" ```