mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-02 17:31:05 -07:00
feat: Add auto update functionality (#4686)
This commit is contained in:
13
packages/cli/src/utils/updateEventEmitter.ts
Normal file
13
packages/cli/src/utils/updateEventEmitter.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2025 Google LLC
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { EventEmitter } from 'events';
|
||||
|
||||
/**
|
||||
* A shared event emitter for application-wide communication
|
||||
* between decoupled parts of the CLI.
|
||||
*/
|
||||
export const updateEventEmitter = new EventEmitter();
|
||||
Reference in New Issue
Block a user