summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/configCommand.ts
diff options
context:
space:
mode:
authorN. Taylor Mullen <[email protected]>2025-07-28 11:13:46 -0700
committerGitHub <[email protected]>2025-07-28 18:13:46 +0000
commit9aef0a8e6c133d3bf1ff43f80119664c154ffdf2 (patch)
tree6dbc4a1011d50188dc1fc2b9b4d133f8795ec8b6 /packages/cli/src/ui/commands/configCommand.ts
parenta5ea113a8e485f42cc1136b6c57e337cbf369c57 (diff)
Revert "feat: Add /config refresh command" (#5060)
Diffstat (limited to 'packages/cli/src/ui/commands/configCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/configCommand.ts33
1 files changed, 0 insertions, 33 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.',
- };
- },
- },
- ],
-};