Add a command for starting Gemini CLI with GCP telemetry (#1079)

This command enables starting the application with GCP telemetry:

```shell
npm run start:gcp
```
This commit is contained in:
Jerop Kipruto
2025-06-15 21:28:29 -04:00
committed by GitHub
parent e772dc2b85
commit 7f06ad40c5
2 changed files with 4 additions and 1 deletions

View File

@@ -35,7 +35,8 @@
"publish:sandbox": "node scripts/publish-sandbox.js",
"publish:npm": "npm publish --workspaces ${NPM_PUBLISH_TAG:+--tag=$NPM_PUBLISH_TAG} ${NPM_DRY_RUN:+--dry-run}",
"publish:release": "npm run build:packages && npm run prepare:cli-packagejson && npm run build:docker && npm run tag:docker && npm run publish:sandbox && npm run publish:npm",
"telemetry": "node scripts/telemetry.js"
"telemetry": "node scripts/telemetry.js",
"start:gcp": "npm run telemetry -- --target=gcp & npm start"
},
"bin": {
"gemini": "bundle/gemini.js"