From aa10ccba713d49bef6bf474bfd72c0852e3da611 Mon Sep 17 00:00:00 2001 From: Abhi <43648792+abhipatel12@users.noreply.github.com> Date: Mon, 7 Jul 2025 16:45:44 -0400 Subject: feature(commands) - Refactor Slash Command + Vision For the Future (#3175) --- packages/cli/src/ui/commands/helpCommand.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packages/cli/src/ui/commands/helpCommand.ts (limited to 'packages/cli/src/ui/commands/helpCommand.ts') diff --git a/packages/cli/src/ui/commands/helpCommand.ts b/packages/cli/src/ui/commands/helpCommand.ts new file mode 100644 index 00000000..82d0d536 --- /dev/null +++ b/packages/cli/src/ui/commands/helpCommand.ts @@ -0,0 +1,20 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import { OpenDialogActionReturn, SlashCommand } from './types.js'; + +export const helpCommand: SlashCommand = { + name: 'help', + altName: '?', + description: 'for help on gemini-cli', + action: (_context, _args): OpenDialogActionReturn => { + console.debug('Opening help UI ...'); + return { + type: 'dialog', + dialog: 'help', + }; + }, +}; -- cgit v1.2.3