mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
fix(cli): color extension link success message green (#18386)
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import type { CommandModule } from 'yargs';
|
import type { CommandModule } from 'yargs';
|
||||||
|
import chalk from 'chalk';
|
||||||
import {
|
import {
|
||||||
debugLogger,
|
debugLogger,
|
||||||
type ExtensionInstallMetadata,
|
type ExtensionInstallMetadata,
|
||||||
@@ -49,7 +50,9 @@ export async function handleLink(args: InstallArgs) {
|
|||||||
const extension =
|
const extension =
|
||||||
await extensionManager.installOrUpdateExtension(installMetadata);
|
await extensionManager.installOrUpdateExtension(installMetadata);
|
||||||
debugLogger.log(
|
debugLogger.log(
|
||||||
`Extension "${extension.name}" linked successfully and enabled.`,
|
chalk.green(
|
||||||
|
`Extension "${extension.name}" linked successfully and enabled.`,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
debugLogger.error(getErrorMessage(error));
|
debugLogger.error(getErrorMessage(error));
|
||||||
|
|||||||
Reference in New Issue
Block a user