summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks
diff options
context:
space:
mode:
authorHarold Mciver <[email protected]>2025-07-15 17:40:09 -0400
committerGitHub <[email protected]>2025-07-15 21:40:09 +0000
commitbf51de1a4d2111af4ece5a6d5567ed69f8f087df (patch)
tree4387256a373d4a74260314c4e6d0155d71b560f3 /packages/cli/src/ui/hooks
parent58f1aa6ceb53df94cc5bba77dc787950be340cb9 (diff)
update `/extensions` to new slash command arch (#4229)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/cli/src/ui/hooks')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
index 31397af5..139de06e 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
@@ -447,34 +447,6 @@ export const useSlashCommandProcessor = (
},
},
{
- name: 'extensions',
- description: 'list active extensions',
- action: async () => {
- const activeExtensions = config?.getActiveExtensions();
- if (!activeExtensions || activeExtensions.length === 0) {
- addMessage({
- type: MessageType.INFO,
- content: 'No active extensions.',
- timestamp: new Date(),
- });
- return;
- }
-
- let message = 'Active extensions:\n\n';
- for (const ext of activeExtensions) {
- message += ` - \u001b[36m${ext.name} (v${ext.version})\u001b[0m\n`;
- }
- // Make sure to reset any ANSI formatting at the end to prevent it from affecting the terminal
- message += '\u001b[0m';
-
- addMessage({
- type: MessageType.INFO,
- content: message,
- timestamp: new Date(),
- });
- },
- },
- {
name: 'tools',
description: 'list available Gemini CLI tools',
action: async (_mainCommand, _subCommand, _args) => {