mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-02 01:11:24 -07:00
Add extension settings to be requested on install (#9802)
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
} from '@google/gemini-cli-core';
|
||||
import { getErrorMessage } from '../../utils/errors.js';
|
||||
import { stat } from 'node:fs/promises';
|
||||
import { promptForSetting } from '../../config/extensions/extensionSettings.js';
|
||||
|
||||
interface InstallArgs {
|
||||
source: string;
|
||||
@@ -69,6 +70,9 @@ export async function handleInstall(args: InstallArgs) {
|
||||
const name = await installOrUpdateExtension(
|
||||
installMetadata,
|
||||
requestConsent,
|
||||
process.cwd(),
|
||||
undefined,
|
||||
promptForSetting,
|
||||
);
|
||||
debugLogger.log(`Extension "${name}" installed successfully and enabled.`);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user