From 9aef0a8e6c133d3bf1ff43f80119664c154ffdf2 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Mon, 28 Jul 2025 11:13:46 -0700 Subject: Revert "feat: Add /config refresh command" (#5060) --- packages/cli/src/ui/commands/configCommand.ts | 33 --------------------------- 1 file changed, 33 deletions(-) delete mode 100644 packages/cli/src/ui/commands/configCommand.ts (limited to 'packages/cli/src/ui/commands/configCommand.ts') diff --git a/packages/cli/src/ui/commands/configCommand.ts b/packages/cli/src/ui/commands/configCommand.ts deleted file mode 100644 index 3651b221..00000000 --- a/packages/cli/src/ui/commands/configCommand.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @license - * Copyright 2025 Google LLC - * SPDX-License-Identifier: Apache-2.0 - */ - -import { - CommandKind, - SlashCommand, - SlashCommandActionReturn, -} from './types.js'; - -export const configCommand: SlashCommand = { - name: 'config', - description: 'Commands for interacting with the CLI configuration.', - kind: CommandKind.BUILT_IN, - subCommands: [ - { - name: 'refresh', - description: 'Reload settings and extensions from the filesystem.', - kind: CommandKind.BUILT_IN, - action: async (context): Promise => { - await context.ui.refreshConfig(); - return { - type: 'message', - messageType: 'info', - content: - 'Configuration, extensions, memory, and tools have been refreshed.', - }; - }, - }, - ], -}; -- cgit v1.2.3