Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:23:15 +08:00
commit 962cc0c926
9 changed files with 1076 additions and 0 deletions

36
commands/sync-cache.md Normal file
View File

@@ -0,0 +1,36 @@
---
description: Sync pending upload operations to cache
argument-hint: --store name
---
Synchronize pending upload operations and update cache with final status.
## Usage
```bash
gemini-file-search-tool sync-cache --store "STORE_NAME" [OPTIONS]
```
## Arguments
- `--store NAME`: Store name (required)
- `--num-workers N`: Parallel workers (default: 4)
- `--text`: Human-readable output (default: JSON)
- `-v`: Verbose logging
## Examples
```bash
# Sync with default workers
gemini-file-search-tool sync-cache --store "papers"
# Sync with 8 parallel workers
gemini-file-search-tool sync-cache --store "codebase" --num-workers 8 -v
# Human-readable output
gemini-file-search-tool sync-cache --store "docs" --text
```
## Output
Returns JSON with synced/failed/pending counts and operation details (or text format with --text).