@hasna/files 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/dist/cli/index.js +98833 -1858
- package/dist/index.d.ts +45 -0
- package/dist/index.js +98784 -1896
- package/dist/mcp/index.js +100257 -3365
- package/dist/server/index.js +98678 -1871
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -25,15 +25,22 @@ Google Drive sync uses profiles configured through the connectors CLI:
|
|
|
25
25
|
connectors auth googledrive
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Add
|
|
29
|
-
source
|
|
28
|
+
Add or repair the production S3 destination once. This stores the AWS named
|
|
29
|
+
profile on the source and sets it as the default Google Drive destination:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
files sources
|
|
32
|
+
files sources bootstrap-prod-files
|
|
33
33
|
files sources add-google-drive --all-profiles --all
|
|
34
|
+
files sources sync-google-drive --dry-run
|
|
34
35
|
files sources sync-google-drive
|
|
35
36
|
```
|
|
36
37
|
|
|
38
|
+
For a custom S3 destination, pass the shared AWS profile explicitly:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
files sources add s3://my-files-bucket/google-drive --region us-east-1 --aws-profile hasna-xyz-infra
|
|
42
|
+
```
|
|
43
|
+
|
|
37
44
|
To sync into local storage instead, add a local source and pass it as the
|
|
38
45
|
destination:
|
|
39
46
|
|