diff options
Diffstat (limited to 'packages/cli/src/ui/commands')
| -rw-r--r-- | packages/cli/src/ui/commands/configCommand.ts | 33 | ||||
| -rw-r--r-- | packages/cli/src/ui/commands/types.ts | 1 |
2 files changed, 0 insertions, 34 deletions
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<SlashCommandActionReturn> => { - await context.ui.refreshConfig(); - return { - type: 'message', - messageType: 'info', - content: - 'Configuration, extensions, memory, and tools have been refreshed.', - }; - }, - }, - ], -}; diff --git a/packages/cli/src/ui/commands/types.ts b/packages/cli/src/ui/commands/types.ts index 6665da4b..2844177f 100644 --- a/packages/cli/src/ui/commands/types.ts +++ b/packages/cli/src/ui/commands/types.ts @@ -59,7 +59,6 @@ export interface CommandContext { /** Toggles a special display mode. */ toggleCorgiMode: () => void; toggleVimEnabled: () => Promise<boolean>; - refreshConfig: () => Promise<void>; }; // Session-specific data session: { |
