mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-20 18:14:29 -07:00
22 lines
490 B
TypeScript
22 lines
490 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import { CommandKind, OpenDialogActionReturn, SlashCommand } from './types.js';
|
|
|
|
export const helpCommand: SlashCommand = {
|
|
name: 'help',
|
|
altNames: ['?'],
|
|
description: 'for help on gemini-cli',
|
|
kind: CommandKind.BUILT_IN,
|
|
action: (_context, _args): OpenDialogActionReturn => {
|
|
console.debug('Opening help UI ...');
|
|
return {
|
|
type: 'dialog',
|
|
dialog: 'help',
|
|
};
|
|
},
|
|
};
|