gogcli/internal/cmd
Jonathan Taylor 61d9c4b4df Add drive comments subcommand
New commands under 'gog drive comments':
- list: List comments on a file (with --include-quoted flag)
- get: Get a comment by ID
- create: Create a comment (with --quoted flag for anchor text)
- update: Update a comment
- delete: Delete a comment
- reply: Reply to a comment

Note: The --quoted flag sets quotedFileContent but does not create a
proper anchor. Comments appear in the comments pane but aren't visually
anchored to specific text in the document. Proper anchoring requires
the Google Docs API to resolve text positions to kix.* anchor IDs.
2026-01-02 15:47:53 -05:00
..
account_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
account.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
auth_add_test.go test: expand CLI coverage 2025-12-31 15:36:10 +01:00
auth_cmd_test.go feat: add token validation + keyring backend override 2026-01-02 14:03:06 +01:00
auth_manage_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
auth_text_test.go feat: add token validation + keyring backend override 2026-01-02 14:03:06 +01:00
auth.go feat: add token validation + keyring backend override 2026-01-02 14:03:06 +01:00
calendar_all_events_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
calendar_colors_test.go feat: take over PR #18 integration 2025-12-26 15:35:15 +01:00
calendar_colors.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
calendar_conflicts_test.go feat: take over PR #18 integration 2025-12-26 15:35:15 +01:00
calendar_conflicts.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
calendar_error_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
calendar_events_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
calendar_more_commands_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
calendar_more_commands_text_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
calendar_more_test.go test: increase unit coverage 2025-12-12 15:52:12 +00:00
calendar_respond_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
calendar_respond.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
calendar_search_test.go feat: take over PR #18 integration 2025-12-26 15:35:15 +01:00
calendar_search.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
calendar_test.go Unify Google CLI with auth, services, and CI 2025-12-12 14:18:38 +00:00
calendar_time_test.go chore(lint): tighten golangci rules 2025-12-31 17:38:29 +01:00
calendar_time.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
calendar_update_delete_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
calendar.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
completion_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
completion.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
confirm_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
confirm.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
contacts_crud_error_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
contacts_crud.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
contacts_directory.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
contacts_helpers_test.go test: substantially raise unit coverage 2025-12-12 16:21:18 +00:00
contacts_services.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
contacts_test.go Unify Google CLI with auth, services, and CI 2025-12-12 14:18:38 +00:00
contacts.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
docs_commands_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
docs.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive_commands_more_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive_comments.go Add drive comments subcommand 2026-01-02 15:47:53 -05:00
drive_copy.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive_download_helpers.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive_download_test.go feat(drive): support --format for Google Docs exports 2025-12-26 17:41:15 +01:00
drive_errors_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
drive_export_format_test.go chore: tighten lint rules 2025-12-31 17:51:45 +01:00
drive_helpers_more_test.go test(drive): add export format coverage 2025-12-26 17:50:34 +01:00
drive_helpers_test.go test: raise coverage and tighten lint 2025-12-31 14:31:49 +01:00
drive_ls_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive_more_commands_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive_more_test.go test: raise coverage above 75% 2025-12-17 21:53:52 +01:00
drive_permissions_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive_test.go Unify Google CLI with auth, services, and CI 2025-12-12 14:18:38 +00:00
drive_url_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
drive.go Add drive comments subcommand 2026-01-02 15:47:53 -05:00
execute_auth_add_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_auth_credentials_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_calendar_events_text_test.go test: add regression coverage 2025-12-26 19:20:53 +01:00
execute_calendar_more_commands_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
execute_calendar_paging_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_calendar_respond_test.go feat: take over PR #18 integration 2025-12-26 15:35:15 +01:00
execute_calendar_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_calendar_text_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_completion_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
execute_contacts_directory_text_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_contacts_more_commands_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_contacts_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_contacts_text_more_test.go test: expand CLI coverage 2025-12-31 15:36:10 +01:00
execute_docs_slides_sheets_more_test.go feat(docs): create/copy/info/text 2025-12-26 22:24:22 +01:00
execute_drive_download_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_drive_flags_test.go test: enforce drive flag contract 2025-12-26 10:32:50 +00:00
execute_drive_more_commands_test.go test: enforce drive flag contract 2025-12-26 10:32:50 +00:00
execute_drive_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
execute_drive_text_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_export_cmds_test.go chore(lint): tighten golangci rules 2025-12-31 17:38:29 +01:00
execute_export_via_drive_test.go test(cmd): cover docs/sheets/slides exports 2025-12-26 18:32:13 +01:00
execute_gmail_attachment_test.go chore(lint): tighten golangci rules 2025-12-31 17:38:29 +01:00
execute_gmail_get_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_gmail_labels_text_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_gmail_more_commands_test.go Add thread modify command for batch label operations 2025-12-31 13:09:26 +01:00
execute_gmail_send_reply_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_gmail_settings_more_commands_test.go test: add regression coverage 2025-12-26 19:20:53 +01:00
execute_gmail_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_gmail_text_test.go Add thread modify command for batch label operations 2025-12-31 13:09:26 +01:00
execute_gmail_watch_more_test.go test: add regression coverage 2025-12-26 19:20:53 +01:00
execute_more_text_coverage_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_people_me_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_sheets_more_commands_test.go test: add regression coverage 2025-12-26 19:20:53 +01:00
execute_tasks_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
execute_version_exitcodes_test.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
exit.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
export_via_drive.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_attachment.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_autoforward_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_autoforward_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_autoforward.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_batch.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_concurrent_test.go feat: add retry logic, concurrent fetching, and extended commands 2025-12-24 17:51:21 -08:00
gmail_constants.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_delegates_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_delegates.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_drafts_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_drafts_error_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_drafts_text_more_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_drafts.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_filters_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_filters_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_filters.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_forwarding_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_forwarding.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_get.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_history_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_history.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_labels_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_labels_test.go Unify Google CLI with auth, services, and CI 2025-12-12 14:18:38 +00:00
gmail_labels_utils.go refactor(cli): add kong helpers 2025-12-31 17:24:42 +01:00
gmail_labels.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_mime_test.go feat: add context propagation, security fixes, and new features 2025-12-24 19:14:01 -08:00
gmail_mime.go feat: take over PR #18 integration 2025-12-26 15:35:15 +01:00
gmail_send_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_send.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_sendas_more_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_sendas_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_sendas_text_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_sendas.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_settings_text_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_test.go test: cover drive downloads and gmail helpers 2025-12-12 16:35:41 +00:00
gmail_thread_cmd_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_thread_test.go feat: add context propagation, security fixes, and new features 2025-12-24 19:14:01 -08:00
gmail_thread.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_vacation_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_vacation.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_watch_cmds_more_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_watch_cmds.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_watch_helpers_test.go chore(lint): tighten golangci rules 2025-12-31 17:38:29 +01:00
gmail_watch_serve_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_watch_serve_validation_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
gmail_watch_server_error_test.go test: expand CLI coverage 2025-12-31 15:36:10 +01:00
gmail_watch_server_helpers_test.go test: raise coverage and tighten lint 2025-12-31 14:31:49 +01:00
gmail_watch_server_more_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_watch_server.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_watch_state.go feat: add gmail watch and history commands 2025-12-24 17:53:48 +00:00
gmail_watch_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
gmail_watch_types.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
gmail_watch_utils.go chore: tighten lint rules 2025-12-31 17:51:45 +01:00
gmail.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
info_via_drive_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
info_via_drive.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
kong_helpers.go refactor(cli): add kong helpers 2025-12-31 17:24:42 +01:00
output_helpers.go refactor(cmd): unify drive exports and table output 2025-12-26 18:32:06 +01:00
people.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
root_test.go test: substantially raise unit coverage 2025-12-12 16:21:18 +00:00
root.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
sheets_commands_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
sheets_metadata_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
sheets.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
slides.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
tasks_items_error_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
tasks_items_json_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
tasks_items.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
tasks_lists.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
tasks_text_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
tasks_validation_test.go chore(lint): tighten golangci rules 2025-12-31 17:38:29 +01:00
tasks.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
testmain_test.go test: fix CI flake from shared config dir 2025-12-17 22:13:23 +01:00
testutil_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
usage.go feat(cli)!: switch to --json/--plain 2025-12-26 10:15:12 +00:00
version_test.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00
version.go refactor(cli): migrate to kong 2025-12-31 17:24:31 +01:00